Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1195461
| From | Luiz Capitulino <lcapitulino@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] clockevents: tick_check_new_device(): drop needless check |
| Date | 2015-07-29 21:40 +0200 |
| Message-ID | <pRFmO-LX-25@gated-at.bofh.it> (permalink) |
| Organization | Red Hat |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] clockevents: tick_check_new_device(): drop needless check Luiz Capitulino <lcapitulino@redhat.com> - 2015-07-29 21:40 +0200 [tip:timers/core] clockevents: Drop redundant cpumask check in tick_check_new_device() tip-bot for Luiz Capitulino <tipbot@zytor.com> - 2015-08-01 12:10 +0200
csiph-web