Skip to content

Commit

Permalink
nohz: fix compile warning in tick_nohz_init()
Browse files Browse the repository at this point in the history
cpu is not used after commit 5b8621a

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>
  • Loading branch information
Li Zhong authored and Frederic Weisbecker committed Jul 24, 2013
1 parent 543487c commit ca06416
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/time/tick-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ca06416

Please sign in to comment.