[PATCH] timers: Remove duplicate setting of new_base in__mod_timer()

From: Simon Horman
Date: Wed Dec 16 2009 - 19:15:54 EST


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@xxxxxxxxxxxx>

Index: linux-2.6/kernel/timer.c
===================================================================
--- linux-2.6.orig/kernel/timer.c 2009-12-17 07:02:57.000000000 +0900
+++ linux-2.6/kernel/timer.c 2009-12-17 07:03:17.000000000 +0900
@@ -656,8 +656,6 @@ __mod_timer(struct timer_list *timer, un

debug_activate(timer, expires);

- new_base = __get_cpu_var(tvec_bases);
-
cpu = smp_processor_id();

#if defined(CONFIG_NO_HZ) && defined(CONFIG_SMP)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/