diff options
author | Pratyush Patel <pratyushpatel.1995@gmail.com> | 2016-03-01 20:28:49 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-06-10 12:25:35 +0300 |
commit | 86721ab63b61ef1dd7305308e4049f644703decf (patch) | |
tree | d7cbf656f1b4bbae3a5148791913f8cfcc592335 | |
parent | b5227d03b7191a9a44bf75a4c228a6a9ddbe781b (diff) | |
download | linux-86721ab63b61ef1dd7305308e4049f644703decf.tar.xz |
hrtimer: Remove redundant #ifdef block
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>
-rw-r--r-- | kernel/time/hrtimer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c index e99df0ff1d42..d13c9aebf7a3 100644 --- a/kernel/time/hrtimer.c +++ b/kernel/time/hrtimer.c @@ -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) |