From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753793AbcB2LEi (ORCPT ); Mon, 29 Feb 2016 06:04:38 -0500 Received: from torg.zytor.com ([198.137.202.12]:53236 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752611AbcB2LEg (ORCPT ); Mon, 29 Feb 2016 06:04:36 -0500 Date: Mon, 29 Feb 2016 03:03:34 -0800 From: tip-bot for Thomas Gleixner Message-ID: Cc: bp@alien8.de, harish.chegondi@intel.com, linux-kernel@vger.kernel.org, eranian@google.com, hpa@zytor.com, andi.kleen@intel.com, kan.liang@intel.com, torvalds@linux-foundation.org, tglx@linutronix.de, mingo@kernel.org, jolsa@redhat.com, peterz@infradead.org, vincent.weaver@maine.edu, acme@redhat.com, jacob.jun.pan@linux.intel.com Reply-To: tglx@linutronix.de, mingo@kernel.org, kan.liang@intel.com, torvalds@linux-foundation.org, eranian@google.com, linux-kernel@vger.kernel.org, hpa@zytor.com, andi.kleen@intel.com, harish.chegondi@intel.com, bp@alien8.de, jacob.jun.pan@linux.intel.com, acme@redhat.com, vincent.weaver@maine.edu, jolsa@redhat.com, peterz@infradead.org In-Reply-To: <20160222221010.657326866@linutronix.de> References: <20160222221010.657326866@linutronix.de> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf/x86/intel/uncore: Remove pointless mask check Git-Commit-ID: 3ccca9eca67ec68461a5266832d02aee538599b2 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: 3ccca9eca67ec68461a5266832d02aee538599b2 Gitweb: http://git.kernel.org/tip/3ccca9eca67ec68461a5266832d02aee538599b2 Author: Thomas Gleixner AuthorDate: Mon, 22 Feb 2016 22:19:08 +0000 Committer: Ingo Molnar CommitDate: Mon, 29 Feb 2016 09:35:12 +0100 perf/x86/intel/uncore: Remove pointless mask check uncore_cpumask_init() is only ever called from intel_uncore_init() where the mask is guaranteed to be empty. Signed-off-by: Thomas Gleixner Signed-off-by: Peter Zijlstra (Intel) Cc: Andi Kleen Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Harish Chegondi Cc: Jacob Pan Cc: Jiri Olsa Cc: Kan Liang Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Vince Weaver Cc: linux-kernel@vger.kernel.org Link: http://lkml.kernel.org/r/20160222221010.657326866@linutronix.de Signed-off-by: Ingo Molnar --- arch/x86/events/intel/uncore.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/events/intel/uncore.c b/arch/x86/events/intel/uncore.c index 91a18d6..c422d52e 100644 --- a/arch/x86/events/intel/uncore.c +++ b/arch/x86/events/intel/uncore.c @@ -1342,12 +1342,6 @@ static void __init uncore_cpumask_init(void) { int cpu; - /* - * ony invoke once from msr or pci init code - */ - if (!cpumask_empty(&uncore_cpu_mask)) - return; - cpu_notifier_register_begin(); for_each_online_cpu(cpu) {