nohz: fix compile warning in tick_nohz_init()
cpu is not used after commit 5b8621a68f
Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Li Zhong <zhong@linux.vnet.ibm.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
This commit is contained in:
parent
543487c7a2
commit
ca06416b2b
|
@ -344,8 +344,6 @@ static int tick_nohz_init_all(void)
|
||||||
|
|
||||||
void __init tick_nohz_init(void)
|
void __init tick_nohz_init(void)
|
||||||
{
|
{
|
||||||
int cpu;
|
|
||||||
|
|
||||||
if (!have_nohz_full_mask) {
|
if (!have_nohz_full_mask) {
|
||||||
if (tick_nohz_init_all() < 0)
|
if (tick_nohz_init_all() < 0)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue