diff options
author | Gaosheng Cui <cuigaosheng1@huawei.com> | 2022-09-09 12:45:42 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-04 08:55:22 -0300 |
commit | 76ed5927ca6185f141336061c4865eb20048c288 (patch) | |
tree | 11405bf1e4d2b0afa7712b06d20fa65181ab16ba | |
parent | 4671855ae7d9f711b8fe2b558a6000b1eb2e4fa3 (diff) | |
download | lwn-76ed5927ca6185f141336061c4865eb20048c288.tar.gz lwn-76ed5927ca6185f141336061c4865eb20048c288.zip |
perf pmu: Remove perf_pmu_lex() needless declaration
It builds without it, perhaps with some older combination of flex/bison
we needed this, clean it up a bit removing this.
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Athira Jajeev <atrajeev@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lore.kernel.org/r/20220909044542.1087870-3-cuigaosheng1@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/pmu.y | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/pmu.y b/tools/perf/util/pmu.y index bfd7e8509869..0dab0ec2eff7 100644 --- a/tools/perf/util/pmu.y +++ b/tools/perf/util/pmu.y @@ -10,8 +10,6 @@ #include <string.h> #include "pmu.h" -extern int perf_pmu_lex (void); - #define ABORT_ON(val) \ do { \ if (val) \ |