Skip to contentSkip to conversation

perf tools: Remove unneeded magic.h include from util.h

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jul 13, 2016 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  a395b35d339174bc42bb22ef729a1ef67639bbb3
Gitweb:     http://git.kernel.org/tip/a395b35d339174bc42bb22ef729a1ef67639bbb3
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Tue, 12 Jul 2016 10:30:39 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue, 12 Jul 2016 15:20:35 -0300

perf tools: Remove unneeded magic.h include from util.h

Not used anymore, IIRC it was for useless PROC_FS_MAGIC procfs checks, but those are long gone.

---
 tools/perf/util/util.h | 1 -
 1 file changed, 1 deletion(-)
tools/perf/util/util.h +0 -1
index d8d41ef..6178cab 100644
@@ -72,7 +72,6 @@
 #include <sys/ioctl.h>
 #include <inttypes.h>
 #include <linux/kernel.h>
-#include <linux/magic.h>
 #include <linux/types.h>
 #include <sys/ttydefaults.h>
 #include <api/fs/tracing_path.h>