From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755554AbbHDIxq (ORCPT ); Tue, 4 Aug 2015 04:53:46 -0400 Received: from terminus.zytor.com ([198.137.202.10]:50002 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753890AbbHDIxo (ORCPT ); Tue, 4 Aug 2015 04:53:44 -0400 Date: Tue, 4 Aug 2015 01:53:15 -0700 From: tip-bot for Alexander Shishkin Message-ID: Cc: torvalds@linux-foundation.org, hpa@zytor.com, alexander.shishkin@linux.intel.com, tglx@linutronix.de, peterz@infradead.org, linux-kernel@vger.kernel.org, mingo@kernel.org Reply-To: peterz@infradead.org, tglx@linutronix.de, mingo@kernel.org, linux-kernel@vger.kernel.org, hpa@zytor.com, torvalds@linux-foundation.org, alexander.shishkin@linux.intel.com In-Reply-To: <1435140349-32588-2-git-send-email-alexander.shishkin@linux.intel.com> References: <1435140349-32588-2-git-send-email-alexander.shishkin@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf/x86/intel/bts: Drop redundant declarations Git-Commit-ID: e9b3bd379c283577e102529bfb22484238be7c91 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: e9b3bd379c283577e102529bfb22484238be7c91 Gitweb: http://git.kernel.org/tip/e9b3bd379c283577e102529bfb22484238be7c91 Author: Alexander Shishkin AuthorDate: Wed, 24 Jun 2015 13:05:48 +0300 Committer: Ingo Molnar CommitDate: Tue, 4 Aug 2015 10:16:53 +0200 perf/x86/intel/bts: Drop redundant declarations Both intel_pmu_enable_bts() and intel_pmu_disable_bts() are in perf_event.h header file, no need to have them declared again in the driver. Signed-off-by: Alexander Shishkin Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: acme@infradead.org Cc: adrian.hunter@intel.com Cc: hpa@zytor.com Link: http://lkml.kernel.org/r/1435140349-32588-2-git-send-email-alexander.shishkin@linux.intel.com Signed-off-by: Ingo Molnar --- arch/x86/kernel/cpu/perf_event_intel_bts.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/kernel/cpu/perf_event_intel_bts.c b/arch/x86/kernel/cpu/perf_event_intel_bts.c index 43dd672..54690e8 100644 --- a/arch/x86/kernel/cpu/perf_event_intel_bts.c +++ b/arch/x86/kernel/cpu/perf_event_intel_bts.c @@ -62,9 +62,6 @@ struct bts_buffer { struct pmu bts_pmu; -void intel_pmu_enable_bts(u64 config); -void intel_pmu_disable_bts(void); - static size_t buf_size(struct page *page) { return 1 << (PAGE_SHIFT + page_private(page));