From: tip-bot for Luiz Capitulino <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com,
lcapitulino@redhat.com, linux-kernel@vger.kernel.org
Subject: [tip:timers/core] clockevents: Drop redundant cpumask check in tick_check_new_device()
Date: Sat, 1 Aug 2015 03:04:24 -0700 [thread overview]
Message-ID: <tip-d74892c5b291c0010295d26d6b1e11cd70451722@git.kernel.org> (raw)
In-Reply-To: <20150729151417.069d1bb0@redhat.com>
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;
prev parent reply other threads:[~2015-08-01 10:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-d74892c5b291c0010295d26d6b1e11cd70451722@git.kernel.org \
--to=tipbot@zytor.com \
--cc=hpa@zytor.com \
--cc=lcapitulino@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome