timers: Remove duplicate setting of new_base in __mod_timer()
Changes
1 files changed · +0 −2
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| kernel/timer.c | modified | +0 | −2 | View file |
kernel/timer.c
View filediff --git a/kernel/timer.c b/kernel/timer.c
index 5db5a8d..15533b7 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -656,8 +656,6 @@ __mod_timer(struct timer_list *timer, unsigned long expires,
debug_activate(timer, expires);
- new_base = __get_cpu_var(tvec_bases);
-
cpu = smp_processor_id();
#if defined(CONFIG_NO_HZ) && defined(CONFIG_SMP)