aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Zhong <[email protected]>2013-07-16 12:18:47 +0800
committerFrederic Weisbecker <[email protected]>2013-07-24 20:30:33 +0200
commitca06416b2b4fa562cd3c3f9eb4198c3b2a983342 (patch)
tree806ed622bd715e99e091d7742c78cc52d5acfb61
parent543487c7a2670bb0d96c00673a44b74360e3b6c1 (diff)
nohz: fix compile warning in tick_nohz_init()
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]>
-rw-r--r--kernel/time/tick-sched.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 1102534a1a57..9563c744dad2 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;