[PATCH] time: silence warning in tick_nohz_init().
From: majianpeng
Date: Tue Jul 16 2013 - 21:14:39 EST
Fix those warning message when compile:
>kernel/time/tick-sched.c: In function ‘tick_nohz_init’:
>kernel/time/tick-sched.c:346:6: warning: unused variable ‘cpu’ [-Wunused-variable]
Signed-off-by: Jianpeng Ma <majianpeng@xxxxxxxxx>
---
kernel/time/tick-sched.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c
index 6960172..ca1d6e3 100644
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -343,8 +343,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;
--
1.8.3.rc1.44.gb387c77
N?叉??y??b??千v??藓{.n???{?赙zXФ?塄}?财??j:+v???赙zZ+€?zf"?????i????ア??璀??撷f?^j谦y??@A?囤?0鹅h??i