lkml.org 
[lkml]   [2019]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] perf parse-events: Remove unused variable i
Em Wed, Jul 03, 2019 at 03:25:08PM -0700, Luke Mujica escreveu:
> Remove 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 <lukemujica@google.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 6ad8d4914969..172dbb73941f 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));

Thanks, applied.

\
 
 \ /
  Last update: 2019-07-05 18:41    [W:0.052 / U:2.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site