* [PATCH] clockevents: tick_check_new_device(): drop needless check
@ 2015-07-29 19:14 Luiz Capitulino
2015-08-01 10:04 ` [tip:timers/core] clockevents: Drop redundant cpumask check in tick_check_new_device() tip-bot for Luiz Capitulino
0 siblings, 1 reply; 2+ messages in thread
From: Luiz Capitulino @ 2015-07-29 19:14 UTC (permalink / raw)
To: linux-kernel; +Cc: tglx
The same check is performed by tick_check_percpu().
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
kernel/time/tick-common.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c
index f8bf475..d11c55b 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;
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:timers/core] clockevents: Drop redundant cpumask check in tick_check_new_device()
2015-07-29 19:14 [PATCH] clockevents: tick_check_new_device(): drop needless check Luiz Capitulino
@ 2015-08-01 10:04 ` tip-bot for Luiz Capitulino
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Luiz Capitulino @ 2015-08-01 10:04 UTC (permalink / raw)
To: linux-tip-commits; +Cc: mingo, tglx, hpa, lcapitulino, linux-kernel
Commit-ID: d74892c5b291c0010295d26d6b1e11cd70451722
Gitweb: http://git.kernel.org/tip/d74892c5b291c0010295d26d6b1e11cd70451722
Author: Luiz Capitulino <lcapitulino@redhat.com>
AuthorDate: Wed, 29 Jul 2015 15:14:17 -0400
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Sat, 1 Aug 2015 12:00:13 +0200
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>
---
kernel/time/tick-common.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c
index f8bf475..d11c55b 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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-01 10:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-29 19:14 [PATCH] clockevents: tick_check_new_device(): drop needless check Luiz Capitulino
2015-08-01 10:04 ` [tip:timers/core] clockevents: Drop redundant cpumask check in tick_check_new_device() tip-bot for Luiz Capitulino
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).