diff options
author | Li Zhong <zhong@linux.vnet.ibm.com> | 2013-07-16 04:18:47 (GMT) |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2013-07-24 18:30:33 (GMT) |
commit | ca06416b2b4fa562cd3c3f9eb4198c3b2a983342 (patch) | |
tree | 806ed622bd715e99e091d7742c78cc52d5acfb61 /kernel/time | |
parent | 543487c7a2670bb0d96c00673a44b74360e3b6c1 (diff) | |
download | linux-fsl-qoriq-ca06416b2b4fa562cd3c3f9eb4198c3b2a983342.tar.xz |
nohz: fix compile warning in tick_nohz_init()
cpu is not used after commit 5b8621a68fdcd2baf1d3b413726f913a5254d46a
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>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/tick-sched.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index 1102534..9563c74 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -344,8 +344,6 @@ static int tick_nohz_init_all(void) void __init tick_nohz_init(void) { - int cpu; - if (!have_nohz_full_mask) { if (tick_nohz_init_all() < 0) return; |