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

selftests/bpf: Remove unused struct 'libcap'

'libcap' is unused since commit b1c2768a ("bpf: selftests: Remove libcap
usage from test_verifier"). 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-4-linux@treblig.org
parent 3f67639d
......@@ -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;
......
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