diff options
author | Alexei Starovoitov <ast@kernel.org> | 2023-04-04 07:50:23 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-04-05 02:57:10 +0300 |
commit | b7e852a9ec96635168c04204fb7cf1f7390b9a8c (patch) | |
tree | 4b534942d580d9d45f42f50cc7533fe7c7abedd3 /net/netfilter/nf_conntrack_bpf.c | |
parent | 7d64c513284408fee5178a0953a686e9410f2399 (diff) | |
download | linux-b7e852a9ec96635168c04204fb7cf1f7390b9a8c.tar.xz |
bpf: Remove unused arguments from btf_struct_access().
Remove unused arguments from btf_struct_access() callback.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/bpf/20230404045029.82870-3-alexei.starovoitov@gmail.com
Diffstat (limited to 'net/netfilter/nf_conntrack_bpf.c')
-rw-r--r-- | net/netfilter/nf_conntrack_bpf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_bpf.c b/net/netfilter/nf_conntrack_bpf.c index 002e9d24a1e9..3f821b7ba646 100644 --- a/net/netfilter/nf_conntrack_bpf.c +++ b/net/netfilter/nf_conntrack_bpf.c @@ -192,8 +192,7 @@ BTF_ID(struct, nf_conn___init) /* Check writes into `struct nf_conn` */ static int _nf_conntrack_btf_struct_access(struct bpf_verifier_log *log, const struct bpf_reg_state *reg, - int off, int size, enum bpf_access_type atype, - u32 *next_btf_id, enum bpf_type_flag *flag) + int off, int size) { const struct btf_type *ncit, *nct, *t; size_t end; |