History

timers: Remove duplicate setting of new_base in __mod_timer()

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.

Simon Horman committed 16 years ago

Commit cf1e3671 parent bb6eddf1 file · +0 −2Browse files

Showing the changes to kernel/timer.c (1 of 1 file). Show all

Unified · Split

kernel/timer.c+0−2
@@ -656,8 +656,6 @@ __mod_timer(struct timer_list *timer, unsigned long expires, · 655 unmodified lines
656656
657657 debug_activate(timer, expires);
658658
659− new_base = __get_cpu_var(tvec_bases);
660−
661659 cpu = smp_processor_id();
662660
663661 #if defined(CONFIG_NO_HZ) && defined(CONFIG_SMP)