[PATCH 0/3] unnecessary checks for null
Stephen Hemminger
stephen at networkplumber.org
Tue Nov 12 18:38:00 CET 2024
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(-)
--
2.45.2
More information about the dev
mailing list