Fix a few of issues identified by cppcheck Ferruh Yigit (7): app/procinfo: fix redundant condition app/procinfo: fix negative check on unsigned variable app/procinfo: remove suspicious sizeof app/procinfo: remove useless assignment net/pcap: remove local variable shadown outer one net/af_xdp: remove useless assignment net/bnxt: fix redundant return
app/proc-info/main.c | 16 +++++----------- drivers/net/af_xdp/rte_eth_af_xdp.c | 1 - drivers/net/bnxt/tf_core/tf_em_common.c | 1 - drivers/net/pcap/rte_eth_pcap.c | 2 +- 4 files changed, 6 insertions(+), 14 deletions(-) -- 2.26.2