Skip to contentSkip to conversation

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

tip: perf/core tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Aug 23, 2019 1 message not in the archive perf events

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw

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 <[email protected]>
AuthorDate:    Wed, 21 Aug 2019 14:24:10 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
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.

---
 tools/perf/util/evsel.h | 1 -
 1 file changed, 1 deletion(-)
tools/perf/util/evsel.h +0 -1
index 2963905..1f749a7 100644
@@ -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>