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 /include/linux/bpf.h | |
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 'include/linux/bpf.h')
-rw-r--r-- | include/linux/bpf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 2d8f3f639e68..4f689dda748f 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h @@ -893,8 +893,7 @@ struct bpf_verifier_ops { struct bpf_prog *prog, u32 *target_size); int (*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); }; struct bpf_prog_offload_ops { |