[PATCH bpf-next 0/3] libbpf: fix several issues reported by static analysers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.39.1




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux