[PATCH 0/4] remove useless null checks before free

Stephen Hemminger stephen at networkplumber.org
Wed Apr 1 18:40:21 CEST 2026


Some small cleanups found by coccinelle null free script

Stephen Hemminger (4):
  net/ice: remove unnecessary null check
  net/bnxt: remove unnecessary null check
  net/zxdh: remove unnecessary null check
  app/test_compress: remove unnecessary null check

 app/test-compress-perf/main.c         | 6 ++----
 drivers/net/bnxt/tf_core/v3/tfo.c     | 6 ++----
 drivers/net/bnxt/tf_ulp/ulp_sc_mgr.c  | 6 ++----
 drivers/net/intel/ice/ice_dcf_sched.c | 6 ++----
 drivers/net/zxdh/zxdh_np.c            | 3 +--
 5 files changed, 9 insertions(+), 18 deletions(-)

-- 
2.53.0



More information about the dev mailing list