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

Unified · Split

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