x86/platform/uv/BAU: Minor cleanup, make some local functions static
authorColin Ian King <colin.king@canonical.com>
Tue, 4 Jul 2017 08:31:29 +0000 (09:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 4 Jul 2017 13:52:37 +0000 (15:52 +0200)
commit5122daa017578ebc4818de8fb3c9d0e131f8b335
tree0ed379779a513e823f903e56a38b71ae7e22877b
parent4422d80ed7d4bdb2d6e9fb890c66c3d9250ba694
x86/platform/uv/BAU: Minor cleanup, make some local functions static

The functions handle_uv2_busy, uv_flush_send_and_wait and
find_another_by_swack are local to the source, so make them static.

Also remove normal_busy as it is no longer used.

Fixes various smatch warnings, such as:
"symbol 'find_another_by_swack' was not declared. Should it be static?"
"symbol 'handle_uv2_busy' was not declared. Should it be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Mike Travis <mike.travis@hpe.com>
Cc: Andrew Banman <abanman@hpe.com>
Cc: kernel-janitors@vger.kernel.org
Cc: Dimitri Sivanich <sivanich@sgi.com>
Cc: Dou Liyang <douly.fnst@cn.fujitsu.com>
Link: http://lkml.kernel.org/r/20170704083129.10559-1-colin.king@canonical.com
arch/x86/platform/uv/tlb_uv.c