aboutsummaryrefslogtreecommitdiff
path: root/samples/bpf/sampleip_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/sampleip_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/sampleip_kern.c')
-rw-r--r--samples/bpf/sampleip_kern.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/bpf/sampleip_kern.c b/samples/bpf/sampleip_kern.c
index f24806ac24e7..a3f8a3998e0a 100644
--- a/samples/bpf/sampleip_kern.c
+++ b/samples/bpf/sampleip_kern.c
@@ -4,7 +4,6 @@
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*/
-#include <linux/version.h>
#include <linux/ptrace.h>
#include <uapi/linux/bpf.h>
#include <uapi/linux/bpf_perf_event.h>