[PATCH 0/3] unnecessary null checks
Stephen Hemminger
stephen at networkplumber.org
Tue Jul 28 16:11:42 CEST 2026
Several drivers have unnecessary checks found by Coccinelle script
Stephen Hemminger (3):
net/sxe2: remove unnecessary checks
net/gve: remove unnecessary check for NULL
ml/cnxk: remove unnecessary NULL check
drivers/ml/cnxk/tvmrt_ml_model.c | 6 ++----
drivers/net/gve/gve_rx.c | 3 ++-
drivers/net/sxe2/sxe2_cmd_chnl.c | 6 ++----
drivers/net/sxe2/sxe2_ethdev.c | 3 +--
drivers/net/sxe2/sxe2_ethdev_repr.c | 3 +--
drivers/net/sxe2/sxe2_mp.c | 3 +--
drivers/net/sxe2/sxe2_rss.c | 3 +--
drivers/net/sxe2/sxe2_txrx_poll.c | 3 +--
8 files changed, 11 insertions(+), 19 deletions(-)
--
2.53.0
More information about the dev
mailing list