[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190705163924.GA8600@kernel.org>
Date: Fri, 5 Jul 2019 13:39:24 -0300
From: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
To: Luke Mujica <lukemujica@...gle.com>
Cc: peterz@...radead.org, mingo@...hat.com,
alexander.shishkin@...ux.intel.com, jolsa@...hat.com,
namhyung@...nel.org, linux-kernel@...r.kernel.org,
irogers@...gle.com, eranian@...gle.com
Subject: Re: [PATCH] perf parse-events: Remove unused variable: error
Em Wed, Jul 03, 2019 at 03:25:09PM -0700, Luke Mujica escreveu:
> Remove error variable because it is declared but not used in
> parse-events.y or in the generated parse-events.c.
Thanks, applied
> Signed-off-by: Luke Mujica <lukemujica@...gle.com>
> ---
> tools/perf/util/parse-events.y | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/util/parse-events.y b/tools/perf/util/parse-events.y
> index 172dbb73941f..f1c36ed1cf36 100644
> --- a/tools/perf/util/parse-events.y
> +++ b/tools/perf/util/parse-events.y
> @@ -480,7 +480,6 @@ event_bpf_file:
> PE_BPF_OBJECT opt_event_config
> {
> struct parse_events_state *parse_state = _parse_state;
> - struct parse_events_error *error = parse_state->error;
> struct list_head *list;
>
> ALLOC_LIST(list);
> --
> 2.22.0.410.gd8fdbe21b5-goog
--
- Arnaldo
Powered by blists - more mailing lists