[tip:,perf/core] perf evsel: Remove needless stddef.h from util/evsel.h
diff mbox series

Message ID 156656305083.32126.8012295768278090668.tip-bot2@tip-bot2
State Accepted
Commit a06b7f422d6a759b085ab2988d878b70e2dd0064
Headers show
Series
  • [tip:,perf/core] perf evsel: Remove needless stddef.h from util/evsel.h
Related show

Commit Message

tip-bot2 for Tom Lendacky Aug. 23, 2019, 12:24 p.m. UTC
The following commit has been merged into the perf/core branch of tip:

Commit-ID:     a06b7f422d6a759b085ab2988d878b70e2dd0064
Gitweb:        https://git.kernel.org/tip/a06b7f422d6a759b085ab2988d878b70e2dd0064
Author:        Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate:    Wed, 21 Aug 2019 14:24:10 -03:00
Committer:     Arnaldo Carvalho de Melo <acme@redhat.com>
CommitterDate: Thu, 22 Aug 2019 17:16:57 -03:00

perf evsel: Remove needless stddef.h from util/evsel.h

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@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-1zy0xfsy61x81f3fpyx5znco@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/util/evsel.h | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox series

diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h
index 2963905..1f749a7 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>