mbox series

[v2,0/7] cppcheck

Message ID 20201118114525.99053-1-ferruh.yigit@intel.com (mailing list archive)
Headers show
Series cppcheck | expand

Message

Ferruh Yigit Nov. 18, 2020, 11:45 a.m. UTC
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(-)