aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Mujica <[email protected]>2019-07-03 15:25:09 -0700
committerArnaldo Carvalho de Melo <[email protected]>2019-07-09 10:13:27 -0300
commit72de3fd97f15d75657dd5389e26801cbf8af0f9a (patch)
tree6b154ec6d13e9b19d0a59ccfab0228b10db1ed7d
parent34c9af571e51466fbcc423fb955277c82f03ce92 (diff)
perf parse-events: Remove unused variable: error
Remove the 'error' variable because it is declared but not used in parse-events.y or in the generated parse-events.c. Signed-off-by: Luke Mujica <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r--tools/perf/util/parse-events.y1
1 files changed, 0 insertions, 1 deletions
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);