[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240602234112.225107-4-linux@treblig.org>
Date: Mon, 3 Jun 2024 00:41:12 +0100
From: linux@...blig.org
To: andrii@...nel.org,
eddyz87@...il.com,
mykolal@...com,
kpsingh@...nel.org,
shuah@...nel.org
Cc: bpf@...r.kernel.org,
linux-kernel@...r.kernel.org,
"Dr. David Alan Gilbert" <linux@...blig.org>
Subject: [PATCH 3/3] selftests/bpf: remove unused struct 'libcap'
From: "Dr. David Alan Gilbert" <linux@...blig.org>
'libcap' is unused since
commit b1c2768a82b9 ("bpf: selftests: Remove libcap usage from
test_verifier").
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@...blig.org>
---
tools/testing/selftests/bpf/test_verifier.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tools/testing/selftests/bpf/test_verifier.c b/tools/testing/selftests/bpf/test_verifier.c
index df04bda1c927..610392dfc4fb 100644
--- a/tools/testing/selftests/bpf/test_verifier.c
+++ b/tools/testing/selftests/bpf/test_verifier.c
@@ -1237,11 +1237,6 @@ static void do_test_fixup(struct bpf_test *test, enum bpf_prog_type prog_type,
fixup_prog_kfuncs(prog, fd_array, test->fixup_kfunc_btf_id);
}
-struct libcap {
- struct __user_cap_header_struct hdr;
- struct __user_cap_data_struct data[2];
-};
-
static int set_admin(bool admin)
{
int err;
--
2.45.1
Powered by blists - more mailing lists