summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2016-04-25 10:47:54 +0100
committerSasha Levin <alexander.levin@verizon.com>2017-07-31 13:37:53 -0400
commitc95d61a77da954a8fa17e6a15b2ad34ef9521b47 (patch)
tree98f68ca9d6297dfab325a3aa2c89c86aca3dc27f /tools
parenta1e8376238251cb311889cddbe3033759ecbe4f1 (diff)
perf tools: Remove duplicate const qualifier
[ Upstream commit 3b556bced46aa6b1873da7faa18eff235e896adc ] Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Peter Zijlstra <peterz@infradead.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@redhat.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/util/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c
index 1c8fbc9588c5..c0b7e17e3167 100644
--- a/tools/perf/util/thread.c
+++ b/tools/perf/util/thread.c
@@ -217,7 +217,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,