Thread (3 messages) flat view 3 messages, 3 authors, 2020-12-18

Re: [PATCH] bpf: remove unused including <linux/version.h>

From: Andrii Nakryiko <hidden>
Date: 2020-12-17 00:17:07
Also in: bpf

On Tue, Dec 15, 2020 at 6:47 PM Tian Tao [off-list ref] wrote:
Remove including <linux/version.h> that don't need it.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
---
 kernel/bpf/syscall.c | 1 -
 1 file changed, 1 deletion(-)
Probably a left over since times kprobe programs were required to
specify expected kernel version.

Acked-by: Andrii Nakryiko <andrii@kernel.org>
quoted hunk ↗ jump to hunk
diff --git a/kernel/bpf/syscall.c b/kernel/bpf/syscall.c
index 4caf06f..c3bb03c8 100644
--- a/kernel/bpf/syscall.c
+++ b/kernel/bpf/syscall.c
@@ -17,7 +17,6 @@
 #include <linux/fs.h>
 #include <linux/license.h>
 #include <linux/filter.h>
-#include <linux/version.h>
 #include <linux/kernel.h>
 #include <linux/idr.h>
 #include <linux/cred.h>
--
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help