Commit 8daf8477 authored by Geliang Tang's avatar Geliang Tang Committed by Alexei Starovoitov

bpf: Drop useless btf_vmlinux in bpf_tcp_ca

The code using btf_vmlinux in bpf_tcp_ca is removed by the
commit 9f0265e9 ("bpf: Require only one of cong_avoid() and cong_control() from a TCP CC")
so drop this useless btf_vmlinux declaration.
Signed-off-by: default avatarGeliang Tang <geliang.tang@suse.com>
Link: https://lore.kernel.org/r/4d38da4eadaba476bd92ffcd7a5a03a5e28745c0.1689582557.git.geliang.tang@suse.comSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 89dc4037
...@@ -51,8 +51,6 @@ static bool is_unsupported(u32 member_offset) ...@@ -51,8 +51,6 @@ static bool is_unsupported(u32 member_offset)
return false; return false;
} }
extern struct btf *btf_vmlinux;
static bool bpf_tcp_ca_is_valid_access(int off, int size, static bool bpf_tcp_ca_is_valid_access(int off, int size,
enum bpf_access_type type, enum bpf_access_type type,
const struct bpf_prog *prog, const struct bpf_prog *prog,
......
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