aboutsummaryrefslogtreecommitdiff
path: root/samples/bpf/trace_event_kern.c
diff options
context:
space:
mode:
authorLu Wei2021-03-24 16:31:47 +0800
committerAndrii Nakryiko2021-03-25 22:03:46 -0700
commitb0c407ec503b8e97bbffd65cc4bed39e008c192f (patch)
treef268b81c9069b4c69ad0800a25484bf6f00faf5f /samples/bpf/trace_event_kern.c
parent155f556d64b1a48710f01305e14bb860734ed1e3 (diff)
bpf: Remove unused headers
The header <linux/version.h> is useless in sampleip_kern.c and trace_event_kern.c, remove it. Signed-off-by: Lu Wei <luwei32@huawei.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210324083147.149278-1-luwei32@huawei.com
Diffstat (limited to 'samples/bpf/trace_event_kern.c')
-rw-r--r--samples/bpf/trace_event_kern.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/bpf/trace_event_kern.c b/samples/bpf/trace_event_kern.c
index 7d3c66fb3f88..0bba5fcd7d24 100644
--- a/samples/bpf/trace_event_kern.c
+++ b/samples/bpf/trace_event_kern.c
@@ -5,7 +5,6 @@
* License as published by the Free Software Foundation.
*/
#include <linux/ptrace.h>
-#include <linux/version.h>
#include <uapi/linux/bpf.h>
#include <uapi/linux/bpf_perf_event.h>
#include <uapi/linux/perf_event.h>