[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200428174953.GB5460@kernel.org>
Date: Tue, 28 Apr 2020 14:49:53 -0300
From: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To: Zou Wei <zou_wei@...wei.com>
Cc: peterz@...radead.org, mingo@...hat.com, mark.rutland@....com,
alexander.shishkin@...ux.intel.com, jolsa@...hat.com,
namhyung@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] perf c2c: Remove unneeded semicolon
Em Tue, Apr 28, 2020 at 04:58:56PM +0800, Zou Wei escreveu:
> Fixes coccicheck warnings:
>
> tools/perf/builtin-c2c.c:1712:2-3: Unneeded semicolon
> tools/perf/builtin-c2c.c:1928:2-3: Unneeded semicolon
> tools/perf/builtin-c2c.c:2962:2-3: Unneeded semicolon
Thanks, applied.
- Arnaldo
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zou Wei <zou_wei@...wei.com>
> ---
> tools/perf/builtin-c2c.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/perf/builtin-c2c.c b/tools/perf/builtin-c2c.c
> index 0d544c4..0e14c18 100644
> --- a/tools/perf/builtin-c2c.c
> +++ b/tools/perf/builtin-c2c.c
> @@ -1709,7 +1709,7 @@ static struct c2c_dimension *get_dimension(const char *name)
>
> if (!strcmp(dim->name, name))
> return dim;
> - };
> + }
>
> return NULL;
> }
> @@ -1925,7 +1925,7 @@ static bool he__display(struct hist_entry *he, struct c2c_stats *stats)
> FILTER_HITM(tot_hitm);
> default:
> break;
> - };
> + }
>
> #undef FILTER_HITM
>
> @@ -2959,7 +2959,7 @@ static int perf_c2c__record(int argc, const char **argv)
>
> rec_argv[i++] = "-e";
> rec_argv[i++] = perf_mem_events__name(j);
> - };
> + }
>
> if (all_user)
> rec_argv[i++] = "--all-user";
> --
> 2.6.2
>
--
- Arnaldo
Powered by blists - more mailing lists