Skip to content

Commit d6840d8

Browse files
committed
perf parser: Remove needless include directives
They go on accumulating there like the debug.h one, that was introduced here: f236102 ("perf list: Add debug support for outputing alias string") But then, when that need is removed via: 2073ad3 ("perf tools: Factor out PMU matching in parser") The thing stays there, so continue the house cleaning spree... list.h not needed, no macros from there are used, and 'struct list_head' is in linux/types.h, ditto for util.h, no need for that as well. Cc: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 815c156 commit d6840d8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/perf/util/parse-events.y

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@
1111
#include <fnmatch.h>
1212
#include <stdio.h>
1313
#include <linux/compiler.h>
14-
#include <linux/list.h>
1514
#include <linux/types.h>
16-
#include "util.h"
1715
#include "pmu.h"
1816
#include "evsel.h"
19-
#include "debug.h"
2017
#include "parse-events.h"
2118
#include "parse-events-bison.h"
2219

0 commit comments

Comments
 (0)