]> git.karo-electronics.de Git - linux-beck.git/commitdiff
hrtimer: Remove redundant #ifdef block
authorPratyush Patel <pratyushpatel.1995@gmail.com>
Tue, 1 Mar 2016 17:28:49 +0000 (22:58 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 10 Jun 2016 09:25:35 +0000 (11:25 +0200)
Only need CONFIG_NO_HZ_COMMON as this block is already in a
CONFIG_SMP block.

Signed-off-by: Pratyush Patel <pratyushpatel.1995@gmail.com>
Link: http://lkml.kernel.org/r/20160301172849.GA18152@cyborg
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/hrtimer.c

index e99df0ff1d424528dd3e54663472dd5fc4a6c796..d13c9aebf7a3b7e955b897f30f749dc0907f15dc 100644 (file)
@@ -177,7 +177,7 @@ hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base)
 #endif
 }
 
-#if defined(CONFIG_SMP) && defined(CONFIG_NO_HZ_COMMON)
+#ifdef CONFIG_NO_HZ_COMMON
 static inline
 struct hrtimer_cpu_base *get_target_base(struct hrtimer_cpu_base *base,
                                         int pinned)