libbpf: fix several issues reported by static analysers
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | libbpf: remove unnecessary ternary operatortools/ | +1 | 0 replies | Applied |
| 2/3 | libbpf: remove several dead assignmentstools/ tools/ tools/ | +0 | 0 replies | Applied |
| 3/3 | libbpf: cleanup linker_append_elf_relostools/ | +2 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH bpf-next 0/3] libbpf: fix several issues reported by static analysers
Fixing several issues reported by Coverity and Clang Static Analyzer (scan-build) for libbpf, mostly removing unnecessary symbols and assignments.
No functional changes should be introduced.
Viktor Malik (3):
libbpf: remove unnecessary ternary operator
libbpf: remove several dead assignments
libbpf: cleanup linker_append_elf_relos
tools/lib/bpf/btf.c | 2 -- tools/lib/bpf/libbpf.c | 3 +-- tools/lib/bpf/linker.c | 11 ++--------- tools/lib/bpf/relo_core.c | 3 --- 4 files changed, 3 insertions(+), 16 deletions(-)
Signature · 1 line
2.39.1