diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2021-06-12 08:05:00 +0530 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-06-15 13:58:56 +0200 |
commit | 4e164f8716853b879e2b1a21a12d54c57f11372e (patch) | |
tree | 8f65ce38c4e41fdbcbbb5b4fb25d7ac36518243a /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | ca16b429f39b4ce013bfa7e197f25681e65a2a42 (diff) |
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/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions