From: Luke Mujica Date: Wed, 3 Jul 2019 22:25:08 +0000 (-0700) Subject: perf parse-events: Remove unused variable 'i' X-Git-Tag: v5.4-rc1~486^2~6^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34c9af571e51466fbcc423fb955277c82f03ce92;p=platform%2Fkernel%2Flinux-rpi.git perf parse-events: Remove unused variable 'i' Remove the 'int i' because it is declared but not used in parse-events.y or in the generated parse-events.c. Signed-off-by: Luke Mujica Cc: Alexander Shishkin Cc: Ian Rogers Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/20190703222509.109616-1-lukemujica@google.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/parse-events.y b/tools/perf/util/parse-events.y index 6ad8d49..172dbb7 100644 --- a/tools/perf/util/parse-events.y +++ b/tools/perf/util/parse-events.y @@ -626,7 +626,6 @@ PE_TERM PE_NAME array '=' PE_NAME { struct parse_events_term *term; - int i; ABORT_ON(parse_events_term__str(&term, PARSE_EVENTS__TERM_TYPE_USER, $1, $4, &@1, &@4));