Skip to content
Commit 66cf99b5 authored by Haiyue Wang's avatar Haiyue Wang Committed by Daniel Borkmann
Browse files

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 2377b81d ("bpf: split shared
bpf_tcp_sock and bpf_sock_ops implementation").

Signed-off-by: default avatarHaiyue Wang <haiyue.wang@intel.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarStanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20230108151258.96570-1-haiyue.wang@intel.com
parent 6d0c4b11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment