From: tip-bot for Luke Mujica <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, lukemujica@google.com,
eranian@google.com, mingo@kernel.org, tglx@linutronix.de,
namhyung@kernel.org, alexander.shishkin@linux.intel.com,
acme@redhat.com, peterz@infradead.org, irogers@google.com,
jolsa@redhat.com, hpa@zytor.com
Subject: [tip:perf/urgent] perf parse-events: Remove unused variable 'i'
Date: Sat, 13 Jul 2019 04:03:50 -0700 [thread overview]
Message-ID: <tip-34c9af571e51466fbcc423fb955277c82f03ce92@git.kernel.org> (raw)
In-Reply-To: <20190703222509.109616-1-lukemujica@google.com>
Commit-ID: 34c9af571e51466fbcc423fb955277c82f03ce92
Gitweb: https://git.kernel.org/tip/34c9af571e51466fbcc423fb955277c82f03ce92
Author: Luke Mujica <lukemujica@google.com>
AuthorDate: Wed, 3 Jul 2019 15:25:08 -0700
Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Tue, 9 Jul 2019 10:13:27 -0300
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 <lukemujica@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20190703222509.109616-1-lukemujica@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.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));
prev parent reply other threads:[~2019-07-13 11:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-03 22:25 [PATCH] perf parse-events: Remove unused variable i Luke Mujica
2019-07-03 22:25 ` [PATCH] perf parse-events: Remove unused variable: error Luke Mujica
2019-07-05 16:39 ` Arnaldo Carvalho de Melo
2019-07-13 11:04 ` [tip:perf/urgent] " tip-bot for Luke Mujica
2019-07-05 16:39 ` [PATCH] perf parse-events: Remove unused variable i Arnaldo Carvalho de Melo
2019-07-13 11:03 ` tip-bot for Luke Mujica [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-34c9af571e51466fbcc423fb955277c82f03ce92@git.kernel.org \
--to=tipbot@zytor.com \
--cc=acme@redhat.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=eranian@google.com \
--cc=hpa@zytor.com \
--cc=irogers@google.com \
--cc=jolsa@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=lukemujica@google.com \
--cc=mingo@kernel.org \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox