diff mbox series

[v2,3/4] bpf: selftests: test_progs/sockopt_sk: remove version

Message ID 20210326122438.211242-3-yauheni.kaliuta@redhat.com (mailing list archive)
State Changes Requested
Delegated to: BPF
Headers show
Series [v2,1/4] selftests/bpf: test_progs/sockopt_sk: Convert to use BPF skeleton | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Yauheni Kaliuta March 26, 2021, 12:24 p.m. UTC
As pointed by Andrii Nakryiko, _version is useless now, remove it.

Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@redhat.com>
---
 tools/testing/selftests/bpf/progs/sockopt_sk.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/testing/selftests/bpf/progs/sockopt_sk.c b/tools/testing/selftests/bpf/progs/sockopt_sk.c
index 55dfbe53c24e..d6d03f64e2e4 100644
--- a/tools/testing/selftests/bpf/progs/sockopt_sk.c
+++ b/tools/testing/selftests/bpf/progs/sockopt_sk.c
@@ -6,7 +6,6 @@ 
 #include <bpf/bpf_helpers.h>
 
 char _license[] SEC("license") = "GPL";
-__u32 _version SEC("version") = 1;
 
 int page_size; /* userspace should set it */