[PATCH 18/25] perf evsel: Remove needless stddef.h from util/evsel.h

From: Arnaldo Carvalho de Melo
Date: Thu Aug 22 2019 - 17:02:31 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

We added it in 07ac002f2fcc ("perf evsel: Introduce is_group_member
method") but we already ditched that function, and there was nothing
else left that needed NULL nor anything else from stddef.h, ditch it.

Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Link: https://lkml.kernel.org/n/tip-1zy0xfsy61x81f3fpyx5znco@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/util/evsel.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h
index 296390541030..1f749a783d8f 100644
--- a/tools/perf/util/evsel.h
+++ b/tools/perf/util/evsel.h
@@ -4,7 +4,6 @@

#include <linux/list.h>
#include <stdbool.h>
-#include <stddef.h>
#include <linux/perf_event.h>
#include <linux/types.h>
#include <internal/evsel.h>
--
2.21.0