From: "Jεan Sacren" <sakiwit@gmail.com>
To: Ariel Elior <aelior@marvell.com>
Cc: GR-everest-linux-l2@marvell.com, davem@davemloft.net,
kuba@kernel.org, netdev@vger.kernel.org
Subject: [PATCH net-next v2 0/2] Small fixes for redundant checks
Date: Thu, 21 Oct 2021 21:37:40 -0600 [thread overview]
Message-ID: <cover.1634847661.git.sakiwit@gmail.com> (raw)
From: Jean Sacren <sakiwit@gmail.com>
This series fixes some redundant checks of certain variables and
expressions.
Jean Sacren (2):
net: qed_ptp: fix redundant check of rc and against -EINVAL
net: qed_dev: fix redundant check of rc and against -EINVAL
drivers/net/ethernet/qlogic/qed/qed_dev.c | 31 +++++++++++++----------
drivers/net/ethernet/qlogic/qed/qed_ptp.c | 12 +++++----
2 files changed, 24 insertions(+), 19 deletions(-)
next reply other threads:[~2021-10-22 3:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-22 3:37 Jεan Sacren [this message]
2021-10-22 3:37 ` [PATCH net-next v2 2/2] net: qed_dev: fix redundant check of rc and against -EINVAL Jεan Sacren
2021-10-22 21:47 ` Jakub Kicinski
2021-10-23 9:26 ` Jεan Sacren
2021-10-22 3:37 ` [PATCH net-next v2 1/2] net: qed_ptp: " Jεan Sacren
2021-10-22 5:27 ` [EXT] " Prabhakar Kushwaha
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=cover.1634847661.git.sakiwit@gmail.com \
--to=sakiwit@gmail.com \
--cc=GR-everest-linux-l2@marvell.com \
--cc=aelior@marvell.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.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).