smp: Make symbol 'csd_bug_count' static
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 6 Jul 2020 13:49:41 +0000 (21:49 +0800)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 4 Sep 2020 18:53:12 +0000 (11:53 -0700)
commit2b722160f1a7929f38dfb648c7bbb45f96e65a5b
treee1f8e1163b6453358bead558293be5e43129b2e3
parent35feb60474bf4f7fa7840e14fc7fd344996b919d
smp: Make symbol 'csd_bug_count' static

The sparse tool complains as follows:

kernel/smp.c:107:10: warning:
 symbol 'csd_bug_count' was not declared. Should it be static?

Because variable is not used outside of smp.c, this commit marks it
static.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
kernel/smp.c