aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorHaiyue Wang <[email protected]>2023-01-08 23:12:57 +0800
committerDaniel Borkmann <[email protected]>2023-01-10 23:09:29 +0100
commit66cf99b55e587aa4c20d5e572142dcbf80b2684d (patch)
treecb70c3ae4eb3ed13232d451e401bc1814f87ab00 /lib/netdev-notifier-error-inject.c
parent6d0c4b11e743b84eb57898783e9adecb9083b269 (diff)
bpf: Remove the unnecessary insn buffer comparison
The variable 'insn' is initialized to 'insn_buf' without being changed, only some helper macros are defined, so the insn buffer comparison is unnecessary. Just remove it. This missed removal back in 2377b81de527 ("bpf: split shared bpf_tcp_sock and bpf_sock_ops implementation"). Signed-off-by: Haiyue Wang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions