Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753145AbcD0PdJ (ORCPT ); Wed, 27 Apr 2016 11:33:09 -0400 Received: from terminus.zytor.com ([198.137.202.10]:50926 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751513AbcD0PdF (ORCPT ); Wed, 27 Apr 2016 11:33:05 -0400 Date: Wed, 27 Apr 2016 08:32:27 -0700 From: tip-bot for Eric Engestrom Message-ID: Cc: mingo@kernel.org, adrian.hunter@intel.com, dsahern@gmail.com, linux-kernel@vger.kernel.org, peterz@infradead.org, tglx@linutronix.de, acme@redhat.com, hpa@zytor.com, eric.engestrom@imgtec.com Reply-To: hpa@zytor.com, eric.engestrom@imgtec.com, adrian.hunter@intel.com, mingo@kernel.org, linux-kernel@vger.kernel.org, dsahern@gmail.com, acme@redhat.com, tglx@linutronix.de, peterz@infradead.org In-Reply-To: <1461577678-29517-1-git-send-email-eric.engestrom@imgtec.com> References: <1461577678-29517-1-git-send-email-eric.engestrom@imgtec.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Remove duplicate const qualifier Git-Commit-ID: 3b556bced46aa6b1873da7faa18eff235e896adc 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 Content-Length: 1222 Lines: 32 Commit-ID: 3b556bced46aa6b1873da7faa18eff235e896adc Gitweb: http://git.kernel.org/tip/3b556bced46aa6b1873da7faa18eff235e896adc Author: Eric Engestrom AuthorDate: Mon, 25 Apr 2016 10:47:54 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 25 Apr 2016 18:12:25 -0300 perf tools: Remove duplicate const qualifier Signed-off-by: Eric Engestrom Cc: Adrian Hunter Cc: David Ahern Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1461577678-29517-1-git-send-email-eric.engestrom@imgtec.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c index dfd00c6..de2036d 100644 --- a/tools/perf/util/thread.c +++ b/tools/perf/util/thread.c @@ -233,7 +233,7 @@ void thread__find_cpumode_addr_location(struct thread *thread, struct addr_location *al) { size_t i; - const u8 const cpumodes[] = { + const u8 cpumodes[] = { PERF_RECORD_MISC_USER, PERF_RECORD_MISC_KERNEL, PERF_RECORD_MISC_GUEST_USER,