[PATCH 0/4] remove unnecessary null checks

Stephen Hemminger stephen at networkplumber.org
Thu Nov 10 00:46:45 CET 2022


This patch set is from running the null_free coccinelle
script on the current main branch.

Stephen Hemminger (4):
  gve: remove unnecessary null checks
  mlx5: remove unnecessary null checks
  idpf: remove unnecessary null checks
  examples: remove unnecessary null checks

 drivers/net/gve/gve_ethdev.c       |  6 ++----
 drivers/net/idpf/idpf_rxtx.c       |  3 +--
 drivers/net/mlx5/hws/mlx5dr_pool.c |  3 +--
 drivers/net/mlx5/mlx5_flow_hw.c    |  6 ++----
 examples/distributor/main.c        |  3 +--
 examples/fips_validation/main.c    | 15 +++++----------
 6 files changed, 12 insertions(+), 24 deletions(-)

-- 
2.35.1



More information about the dev mailing list