From: Gaosheng Cui Date: Fri, 9 Sep 2022 04:45:42 +0000 (+0800) Subject: perf pmu: Remove perf_pmu_lex() needless declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=76ed5927ca6185f141336061c4865eb20048c288;p=linux.git 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 Cc: Alexander Shishkin Cc: Athira Jajeev Cc: Ingo Molnar Cc: James Clark Cc: Jiri Olsa Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: https://lore.kernel.org/r/20220909044542.1087870-3-cuigaosheng1@huawei.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/pmu.y b/tools/perf/util/pmu.y index bfd7e8509869b..0dab0ec2eff7c 100644 --- a/tools/perf/util/pmu.y +++ b/tools/perf/util/pmu.y @@ -10,8 +10,6 @@ #include #include "pmu.h" -extern int perf_pmu_lex (void); - #define ABORT_ON(val) \ do { \ if (val) \