diff options
author | Haiyue Wang <haiyue.wang@intel.com> | 2023-01-08 23:12:57 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-01-10 23:09:29 +0100 |
commit | 66cf99b55e587aa4c20d5e572142dcbf80b2684d (patch) | |
tree | cb70c3ae4eb3ed13232d451e401bc1814f87ab00 /scripts/bpf_doc.py | |
parent | 6d0c4b11e743b84eb57898783e9adecb9083b269 (diff) | |
download | linux-66cf99b55e587aa4c20d5e572142dcbf80b2684d.tar.gz linux-66cf99b55e587aa4c20d5e572142dcbf80b2684d.tar.bz2 linux-66cf99b55e587aa4c20d5e572142dcbf80b2684d.zip |
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 <haiyue.wang@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20230108151258.96570-1-haiyue.wang@intel.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions