DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH 0/3] unnecessary checks for null
Date: Tue, 12 Nov 2024 09:38:00 -0800	[thread overview]
Message-ID: <20241112173833.323934-1-stephen@networkplumber.org> (raw)

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


             reply	other threads:[~2024-11-12 17:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-12 17:38 Stephen Hemminger [this message]
2024-11-12 17:38 ` [PATCH 1/3] bus/fslmc: remove unnecessary null check Stephen Hemminger
2024-11-13  5:01   ` Hemant Agrawal
2024-11-12 17:38 ` [PATCH 2/3] net/dpaa2: remove unnecessary check for null before rte_free Stephen Hemminger
2024-11-13  5:01   ` Hemant Agrawal
2024-11-12 17:38 ` [PATCH 3/3] net/ntnic: remove unnecessary check for null before free Stephen Hemminger
2024-11-13  1:25 ` [PATCH 0/3] unnecessary checks for null Ferruh Yigit
2024-11-13  4:56   ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241112173833.323934-1-stephen@networkplumber.org \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).