selftests/bpf: Remove unused 'key_t' structs
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 2 Jun 2024 23:41:11 +0000 (00:41 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 3 Jun 2024 14:52:57 +0000 (16:52 +0200)
'key_t' is unused in a couple of files since the original commit 60dd49ea6539
("selftests/bpf: Add test for bpf array map iterators"). Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240602234112.225107-3-linux@treblig.org
tools/testing/selftests/bpf/progs/bpf_iter_bpf_array_map.c
tools/testing/selftests/bpf/progs/bpf_iter_bpf_percpu_array_map.c

index c5969ca..564835b 100644 (file)
@@ -6,12 +6,6 @@
 
 char _license[] SEC("license") = "GPL";
 
-struct key_t {
-       int a;
-       int b;
-       int c;
-};
-
 struct {
        __uint(type, BPF_MAP_TYPE_ARRAY);
        __uint(max_entries, 3);
index 85fa710..9f0e070 100644 (file)
@@ -6,12 +6,6 @@
 
 char _license[] SEC("license") = "GPL";
 
-struct key_t {
-       int a;
-       int b;
-       int c;
-};
-
 struct {
        __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
        __uint(max_entries, 3);