lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-72de3fd97f15d75657dd5389e26801cbf8af0f9a@git.kernel.org>
Date:   Sat, 13 Jul 2019 04:04:33 -0700
From:   tip-bot for Luke Mujica <tipbot@...or.com>
To:     linux-tip-commits@...r.kernel.org
Cc:     mingo@...nel.org, lukemujica@...gle.com, namhyung@...nel.org,
        eranian@...gle.com, tglx@...utronix.de, irogers@...gle.com,
        acme@...hat.com, alexander.shishkin@...ux.intel.com,
        jolsa@...hat.com, peterz@...radead.org,
        linux-kernel@...r.kernel.org, hpa@...or.com
Subject: [tip:perf/urgent] perf parse-events: Remove unused variable: error

Commit-ID:  72de3fd97f15d75657dd5389e26801cbf8af0f9a
Gitweb:     https://git.kernel.org/tip/72de3fd97f15d75657dd5389e26801cbf8af0f9a
Author:     Luke Mujica <lukemujica@...gle.com>
AuthorDate: Wed, 3 Jul 2019 15:25:09 -0700
Committer:  Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Tue, 9 Jul 2019 10:13:27 -0300

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 <lukemujica@...gle.com>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Ian Rogers <irogers@...gle.com>
Cc: Jiri Olsa <jolsa@...hat.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Stephane Eranian <eranian@...gle.com>
Link: http://lkml.kernel.org/r/20190703222509.109616-2-lukemujica@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.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);

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ