DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] unnecessary null checks
@ 2026-07-28 14:11 Stephen Hemminger
  2026-07-28 14:11 ` [PATCH 1/3] net/sxe2: remove unnecessary checks Stephen Hemminger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephen Hemminger @ 2026-07-28 14:11 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-07-28 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-28 14:11 [PATCH 0/3] unnecessary null checks Stephen Hemminger
2026-07-28 14:11 ` [PATCH 1/3] net/sxe2: remove unnecessary checks Stephen Hemminger
2026-07-28 14:11 ` [PATCH 2/3] net/gve: remove unnecessary check for NULL Stephen Hemminger
2026-07-28 14:11 ` [PATCH 3/3] ml/cnxk: remove unnecessary NULL check Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox