timers: Remove duplicate setting of new_base in __mod_timer()
authorSimon Horman <horms@verge.net.au>
Thu, 17 Dec 2009 00:15:42 +0000 (11:15 +1100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Dec 2009 00:30:49 +0000 (01:30 +0100)
new_base is set using per_cpu(tvec_bases, cpu) after selecting the
desired value of cpu immediately below so this line is a unnecessary.

Signed-off-by: Simon Horman <horms@verge.net.au>
LKML-Reference: <20091217001542.GD25317@verge.net.au>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/timer.c

index 5db5a8d2681168cfcf9c571d2da69629245c92ba..15533b792397be532ddcce7f2d24c04f78efba75 100644 (file)
@@ -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)