Netdev List
 help / color / mirror / Atom feed
From: Sang-Heon Jeon <ekffu200098@gmail.com>
To: kuba@kernel.org, "Andrew Lunn" <andrew@lunn.ch>,
	"Andrew Lunn" <andrew+netdev@lunn.ch>,
	"Arkadiusz Kubalewski" <arkadiusz.kubalewski@intel.com>,
	"Arthur Kiyanovski" <akiyano@amazon.com>,
	"Arun Ramadoss" <arun.ramadoss@microchip.com>,
	"Claudiu Manoil" <claudiu.manoil@nxp.com>,
	"David Arinzon" <darinzon@amazon.com>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@google.com>,
	"Heiner Kallweit" <hkallweit1@gmail.com>,
	"Ioana Ciornei" <ioana.ciornei@nxp.com>,
	"Ivan Vecera" <ivecera@redhat.com>,
	"Jiri Pirko" <jiri@resnulli.us>,
	"Kory Maincent" <kory.maincent@bootlin.com>,
	"Manish Chopra" <manishc@marvell.com>,
	"Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
	"Oleksij Rempel" <o.rempel@pengutronix.de>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Prathosh Satish" <Prathosh.Satish@microchip.com>,
	"Przemek Kitszel" <przemyslaw.kitszel@intel.com>,
	"Rahul Verma" <rahulv@marvell.com>,
	"Sabrina Dubroca" <sd@queasysnail.net>,
	"Shahed Shaikh" <shshaikh@marvell.com>,
	"Sukhdeep Singh" <sukhdeeps@marvell.com>,
	"Tony Nguyen" <anthony.l.nguyen@intel.com>,
	"Vadim Fedorenko" <vadim.fedorenko@linux.dev>
Cc: GR-Linux-NIC-Dev@marvell.com, intel-wired-lan@lists.osuosl.org,
	linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	netdev@vger.kernel.org, Russell King <linux@armlinux.org.uk>,
	UNGLinuxDriver@microchip.com
Subject: [PATCH net-next v2 0/4] net: remove conditional returns with no effect
Date: Sun, 26 Jul 2026 00:08:48 +0900	[thread overview]
Message-ID: <20260725150852.859188-1-ekffu200098@gmail.com> (raw)

Hello,

This series removes conditional returns where both branches return
the same value, so the check has no effect. As suggested by Jakub, the
netdev patches of the treewide v1 series [1] are posted separately.

All patches are generated by the Coccinelle script, which you can
find in v1.

The patch grouping is unchanged from v1. If you would rather split,
merge or drop any of the patches, just let me know and I will address
it in the next version.

---
Changes from v1 [1]
- Collect Reviewed-by tags
- Change base to net-next/main
- Filter only netdev patches

[1] https://lore.kernel.org/all/20260723184538.3888637-1-ekffu200098@gmail.com/
---

Sang-Heon Jeon (4):
  dpll: zl3073x: remove conditional return with no effect
  net: ethernet: remove conditional return with no effect
  net: remove conditional return with no effect
  net: intel: remove conditional return with no effect

 drivers/dpll/zl3073x/dpll.c                           | 6 +-----
 drivers/dpll/zl3073x/out.c                            | 8 ++------
 drivers/net/ethernet/amazon/ena/ena_netdev.c          | 6 +-----
 drivers/net/ethernet/aquantia/atlantic/aq_macsec.c    | 6 +-----
 drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c   | 6 +-----
 drivers/net/ethernet/freescale/gianfar.c              | 6 +-----
 drivers/net/ethernet/intel/i40e/i40e_main.c           | 8 +-------
 drivers/net/ethernet/intel/igb/e1000_i210.c           | 6 +-----
 drivers/net/ethernet/intel/igc/igc_phy.c              | 6 +-----
 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c    | 7 +------
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c | 6 +-----
 drivers/net/ethernet/renesas/rtsn.c                   | 7 +------
 drivers/net/phy/microchip_t1.c                        | 6 +-----
 drivers/net/pse-pd/tps23881.c                         | 6 +-----
 14 files changed, 15 insertions(+), 75 deletions(-)

-- 
2.43.0


             reply	other threads:[~2026-07-25 15:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-25 15:08 Sang-Heon Jeon [this message]
2026-07-25 15:08 ` [PATCH net-next v2 1/4] dpll: zl3073x: remove conditional return with no effect Sang-Heon Jeon
2026-07-25 15:08 ` [PATCH net-next v2 2/4] net: ethernet: " Sang-Heon Jeon
2026-07-25 15:08 ` [PATCH net-next v2 3/4] net: " Sang-Heon Jeon
2026-07-25 15:08 ` [PATCH net-next v2 4/4] net: intel: " Sang-Heon Jeon

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=20260725150852.859188-1-ekffu200098@gmail.com \
    --to=ekffu200098@gmail.com \
    --cc=GR-Linux-NIC-Dev@marvell.com \
    --cc=Prathosh.Satish@microchip.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=akiyano@amazon.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=arkadiusz.kubalewski@intel.com \
    --cc=arun.ramadoss@microchip.com \
    --cc=claudiu.manoil@nxp.com \
    --cc=darinzon@amazon.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hkallweit1@gmail.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=ioana.ciornei@nxp.com \
    --cc=ivecera@redhat.com \
    --cc=jiri@resnulli.us \
    --cc=kory.maincent@bootlin.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=manishc@marvell.com \
    --cc=netdev@vger.kernel.org \
    --cc=niklas.soderlund@ragnatech.se \
    --cc=o.rempel@pengutronix.de \
    --cc=pabeni@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=rahulv@marvell.com \
    --cc=sd@queasysnail.net \
    --cc=shshaikh@marvell.com \
    --cc=sukhdeeps@marvell.com \
    --cc=vadim.fedorenko@linux.dev \
    /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