Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/bpf: Remove unused struct 'libcap'

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

authored by

Dr. David Alan Gilbert and committed by
Daniel Borkmann
a450d36b 3f67639d

-5
-5
tools/testing/selftests/bpf/test_verifier.c
··· 1237 1237 fixup_prog_kfuncs(prog, fd_array, test->fixup_kfunc_btf_id); 1238 1238 } 1239 1239 1240 - struct libcap { 1241 - struct __user_cap_header_struct hdr; 1242 - struct __user_cap_data_struct data[2]; 1243 - }; 1244 - 1245 1240 static int set_admin(bool admin) 1246 1241 { 1247 1242 int err;