[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <tip-3b556bced46aa6b1873da7faa18eff235e896adc@git.kernel.org>
Date: Wed, 27 Apr 2016 08:32:27 -0700
From: tip-bot for Eric Engestrom <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, adrian.hunter@...el.com, dsahern@...il.com,
linux-kernel@...r.kernel.org, peterz@...radead.org,
tglx@...utronix.de, acme@...hat.com, hpa@...or.com,
eric.engestrom@...tec.com
Subject: [tip:perf/core] perf tools: Remove duplicate const qualifier
Commit-ID: 3b556bced46aa6b1873da7faa18eff235e896adc
Gitweb: http://git.kernel.org/tip/3b556bced46aa6b1873da7faa18eff235e896adc
Author: Eric Engestrom <eric.engestrom@...tec.com>
AuthorDate: Mon, 25 Apr 2016 10:47:54 +0100
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Mon, 25 Apr 2016 18:12:25 -0300
perf tools: Remove duplicate const qualifier
Signed-off-by: Eric Engestrom <eric.engestrom@...tec.com>
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/1461577678-29517-1-git-send-email-eric.engestrom@imgtec.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
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,
Powered by blists - more mailing lists