projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a447f0
)
clockevents: Drop redundant cpumask check in tick_check_new_device()
author
Luiz Capitulino
<lcapitulino@redhat.com>
Wed, 29 Jul 2015 19:14:17 +0000
(15:14 -0400)
committer
Thomas Gleixner
<tglx@linutronix.de>
Sat, 1 Aug 2015 10:00:13 +0000
(12:00 +0200)
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>
kernel/time/tick-common.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/time/tick-common.c
b/kernel/time/tick-common.c
index f8bf47571dda4748f0d3be7574591566ccac8936..d11c55b6ab7db3585d449ac2a9a5c55ad4a0dd12 100644
(file)
--- 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;