diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2015-07-29 15:14:17 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-08-01 12:00:13 +0200 |
commit | d74892c5b291c0010295d26d6b1e11cd70451722 (patch) | |
tree | d5a286eba3813cf226bcce41f666264bd7616c5f /kernel/time | |
parent | 5a447f09a8dffc0dd7569aec614ad3613a050098 (diff) | |
download | linux-stable-d74892c5b291c0010295d26d6b1e11cd70451722.tar.gz linux-stable-d74892c5b291c0010295d26d6b1e11cd70451722.tar.bz2 linux-stable-d74892c5b291c0010295d26d6b1e11cd70451722.zip |
clockevents: Drop redundant cpumask check in tick_check_new_device()
The same check is performed by tick_check_percpu().
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Link: http://lkml.kernel.org/r/20150729151417.069d1bb0@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/tick-common.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c index f8bf47571dda..d11c55b6ab7d 100644 --- a/kernel/time/tick-common.c +++ b/kernel/time/tick-common.c @@ -304,9 +304,6 @@ void tick_check_new_device(struct clock_event_device *newdev) int cpu; cpu = smp_processor_id(); - if (!cpumask_test_cpu(cpu, newdev->cpumask)) - goto out_bc; - td = &per_cpu(tick_cpu_device, cpu); curdev = td->evtdev; |