Commit ca06416b authored by Li Zhong's avatar Li Zhong Committed by Frederic Weisbecker

nohz: fix compile warning in tick_nohz_init()

cpu is not used after commit 5b8621a6Signed-off-by: default avatarLi 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: default avatarFrederic Weisbecker <fweisbec@gmail.com>
parent 543487c7
...@@ -344,8 +344,6 @@ static int tick_nohz_init_all(void) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment