nohz: fix compile warning in tick_nohz_init()
authorLi Zhong <[email protected]>
Tue, 16 Jul 2013 04:18:47 +0000 (12:18 +0800)
committerFrederic Weisbecker <[email protected]>
Wed, 24 Jul 2013 18:30:33 +0000 (20:30 +0200)
cpu is not used after commit 5b8621a68fdcd2baf1d3b413726f913a5254d46a

Signed-off-by: Li Zhong <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Li Zhong <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Kevin Hilman <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
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;