lkml.org 
[lkml]   [2016]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] perf tools: remove duplicate const qualifier
Em Mon, Apr 25, 2016 at 10:47:54AM +0100, Eric Engestrom escreveu:
> Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>

Thanks, applied.

- Arnaldo

> ---
> 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,
> --
> 2.7.4

\
 
 \ /
  Last update: 2016-04-25 23:21    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog