aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/ringbuf.c
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <[email protected]>2021-06-12 02:35:00 +0000
committerDaniel Borkmann <[email protected]>2021-06-15 11:58:56 +0000
commit4e164f8716853b879e2b1a21a12d54c57f11372e (patch)
tree8f65ce38c4e41fdbcbbb5b4fb25d7ac36518243a /tools/lib/bpf/ringbuf.c
parenttools/bpftool: Fix error return code in do_batch() (diff)
downloadkernel-4e164f8716853b879e2b1a21a12d54c57f11372e.tar.gz
kernel-4e164f8716853b879e2b1a21a12d54c57f11372e.zip
libbpf: Remove unneeded check for flags during tc detach
Coverity complained about this being unreachable code. It is right because we already enforce flags to be unset, so a check validating the flag value is redundant. Fixes: 715c5ce454a6 ("libbpf: Add low level TC-BPF management API") Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/ringbuf.c')
0 files changed, 0 insertions, 0 deletions