perf parse-events: Remove duplicated include in parse-events.c
authorYang Li <yang.lee@linux.alibaba.com>
Tue, 10 Sep 2024 00:55:22 +0000 (08:55 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Sep 2024 12:35:27 +0000 (09:35 -0300)
The header files parse-events.h is included twice in parse-events.c,
so one inclusion of each can be removed.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: James Clark <james.clark@linaro.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=10822
Link: https://lore.kernel.org/r/20240910005522.35994-1-yang.lee@linux.alibaba.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/parse-events.c

index 639e65a9bf61801a8174318bea8815ef15695a33..e228511c85a5de8526dcd5d21c334f0e63d47ef7 100644 (file)
@@ -5,7 +5,6 @@
 #include <api/fs/fs.h>
 #include "tests.h"
 #include "debug.h"
-#include "parse-events.h"
 #include "pmu.h"
 #include "pmus.h"
 #include <dirent.h>