Commit 3f67639d authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Daniel Borkmann

selftests/bpf: Remove unused 'key_t' structs

'key_t' is unused in a couple of files since the original commit 60dd49ea
("selftests/bpf: Add test for bpf array map iterators"). Remove it.
Signed-off-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240602234112.225107-3-linux@treblig.org
parent dfa7c9ff
...@@ -6,12 +6,6 @@ ...@@ -6,12 +6,6 @@
char _license[] SEC("license") = "GPL"; char _license[] SEC("license") = "GPL";
struct key_t {
int a;
int b;
int c;
};
struct { struct {
__uint(type, BPF_MAP_TYPE_ARRAY); __uint(type, BPF_MAP_TYPE_ARRAY);
__uint(max_entries, 3); __uint(max_entries, 3);
......
...@@ -6,12 +6,6 @@ ...@@ -6,12 +6,6 @@
char _license[] SEC("license") = "GPL"; char _license[] SEC("license") = "GPL";
struct key_t {
int a;
int b;
int c;
};
struct { struct {
__uint(type, BPF_MAP_TYPE_PERCPU_ARRAY); __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
__uint(max_entries, 3); __uint(max_entries, 3);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment