From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751338AbbHAKEq (ORCPT ); Sat, 1 Aug 2015 06:04:46 -0400 Received: from terminus.zytor.com ([198.137.202.10]:40840 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751207AbbHAKEp (ORCPT ); Sat, 1 Aug 2015 06:04:45 -0400 Date: Sat, 1 Aug 2015 03:04:24 -0700 From: tip-bot for Luiz Capitulino Message-ID: Cc: mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, lcapitulino@redhat.com, linux-kernel@vger.kernel.org Reply-To: mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com, lcapitulino@redhat.com, linux-kernel@vger.kernel.org In-Reply-To: <20150729151417.069d1bb0@redhat.com> References: <20150729151417.069d1bb0@redhat.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:timers/core] clockevents: Drop redundant cpumask check in tick_check_new_device() Git-Commit-ID: d74892c5b291c0010295d26d6b1e11cd70451722 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: d74892c5b291c0010295d26d6b1e11cd70451722 Gitweb: http://git.kernel.org/tip/d74892c5b291c0010295d26d6b1e11cd70451722 Author: Luiz Capitulino AuthorDate: Wed, 29 Jul 2015 15:14:17 -0400 Committer: Thomas Gleixner 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 Link: http://lkml.kernel.org/r/20150729151417.069d1bb0@redhat.com Signed-off-by: Thomas Gleixner --- 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;