nohz: fix compile warning in tick_nohz_init()
authorLi Zhong <zhong@linux.vnet.ibm.com>
Tue, 16 Jul 2013 04:18:47 +0000 (12:18 +0800)
committerFrederic Weisbecker <fweisbec@gmail.com>
Wed, 24 Jul 2013 18:30:33 +0000 (20:30 +0200)
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>
kernel/time/tick-sched.c

index 1102534a1a575919a2aca4e87630fedc72ca4609..9563c744dad2cd5823624e127e1c266dc45d3cf5 100644 (file)
@@ -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;