Skip to content

unnecessary checks for null

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bus/fslmc: remove unnecessary null checkdrivers/bus/fslmc/fslmc_vfio.c+1 -21 reply
2/3net/dpaa2: remove unnecessary check for null before rte_freedrivers/net/dpaa2/dpaa2_ethdev.c drivers/net/dpaa2/dpaa2_flow.c drivers/net/dpaa2/dpaa2_mux.c+12 -241 reply
3/3net/ntnic: remove unnecessary check for null before freedrivers/net/ntnic/nthw/flow_api/flow_api.c drivers/net/ntnic/nthw/flow_api/profile_inline/flm_age_queue.c drivers/net/ntnic/nthw/flow_api/profile_inline/flm_evt_queue.c +2 more+6 -120 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchFerruh YigitHemant Agrawal
SeriesA-b
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] unnecessary checks for null

Found by running nullfree.cocci on 24.11-rc2

Stephen Hemminger (3):
bus/fslmc: remove unnecessary null check net/dpaa2: remove unnecessary check for null before rte_free net/ntnic: remove unnecessary check for null before free

 drivers/bus/fslmc/fslmc_vfio.c                |  3 +--
 drivers/net/dpaa2/dpaa2_ethdev.c              |  3 +--
 drivers/net/dpaa2/dpaa2_flow.c                | 27 +++++++------------
 drivers/net/dpaa2/dpaa2_mux.c                 |  6 ++---
 drivers/net/ntnic/nthw/flow_api/flow_api.c    |  6 ++---
 .../flow_api/profile_inline/flm_age_queue.c   |  3 +--
 .../flow_api/profile_inline/flm_evt_queue.c   |  3 +--
 .../flow_api/profile_inline/flm_lrn_queue.c   |  3 +--
 drivers/net/ntnic/nthw/stat/nthw_stat.c       |  3 +--
 9 files changed, 19 insertions(+), 38 deletions(-)
Signature · 1 line
2.45.2