From: "Russell King (Oracle)" <linux@armlinux•org.uk>
To: Andrew Lunn <andrew@lunn•ch>, Heiner Kallweit <hkallweit1@gmail•com>
Cc: "Alexandre Belloni" <alexandre.belloni@bootlin•com>,
"AngeloGioacchino Del Regno"
<angelogioacchino.delregno@collabora•com>,
"Arınç ÜNAL" <arinc.unal@arinc9•com>,
"Claudiu Manoil" <claudiu.manoil@nxp•com>,
"Daniel Golle" <daniel@makrotopia•org>,
"David S. Miller" <davem@davemloft•net>,
"DENG Qingfang" <dqfext@gmail•com>,
"Eric Dumazet" <edumazet@google•com>,
"Florian Fainelli" <f.fainelli@gmail•com>,
"Florian Fainelli" <florian.fainelli@broadcom•com>,
"Jakub Kicinski" <kuba@kernel•org>,
"Landen Chao" <Landen.Chao@mediatek•com>,
linux-arm-kernel@lists•infradead.org,
linux-mediatek@lists•infradead.org,
"Matthias Brugger" <matthias.bgg@gmail•com>,
netdev@vger•kernel.org, "Paolo Abeni" <pabeni@redhat•com>,
"Sean Wang" <sean.wang@mediatek•com>,
UNGLinuxDriver@microchip•com,
"Vladimir Oltean" <olteanv@gmail•com>,
"Woojung Huh" <woojung.huh@microchip•com>
Subject: [PATCH net-next 0/3] Remove some unused phylink legacy
Date: Fri, 14 Jul 2023 10:11:31 +0100 [thread overview]
Message-ID: <ZLERQ2OBrv44Ppyc@shell.armlinux.org.uk> (raw)
Hi,
I believe we are now in a position where some of the legacy phylink code
can be removed!
I believe that all DSA drivers do not make use of any pre-March 2020
phylink behaviour - all drivers now seem to set legacy_pre_march2020 to
false, and the conditions that DSA sets it to true are no longer
satisifed by any driver.
Moreover, no one uses the .mac_an_restart() method, so this can also be
removed.
drivers/net/dsa/b53/b53_common.c | 6 -----
drivers/net/dsa/lan9303-core.c | 6 -----
drivers/net/dsa/microchip/ksz_common.c | 2 --
drivers/net/dsa/mt7530.c | 6 -----
drivers/net/dsa/mv88e6xxx/chip.c | 4 ----
drivers/net/dsa/ocelot/felix.c | 6 -----
drivers/net/dsa/qca/qca8k-8xxx.c | 2 --
drivers/net/dsa/sja1105/sja1105_main.c | 6 -----
drivers/net/phy/phylink.c | 22 ++++++++----------
include/linux/phylink.h | 12 ----------
include/net/dsa.h | 3 ---
net/dsa/port.c | 41 ----------------------------------
12 files changed, 9 insertions(+), 107 deletions(-)
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
next reply other threads:[~2023-07-14 9:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-14 9:11 Russell King (Oracle) [this message]
2023-07-14 9:12 ` [PATCH net-next 1/3] net: dsa: remove legacy_pre_march2020 detection Russell King (Oracle)
2023-07-14 10:14 ` Florian Fainelli
2023-07-17 11:02 ` Vladimir Oltean
2023-07-14 9:12 ` [PATCH net-next 2/3] net: dsa: remove legacy_pre_march2020 from drivers Russell King (Oracle)
2023-07-14 10:14 ` Florian Fainelli
2023-07-17 11:03 ` Vladimir Oltean
2023-07-14 9:12 ` [PATCH net-next 3/3] net: phylink: remove legacy mac_an_restart() method Russell King (Oracle)
2023-07-14 10:15 ` Florian Fainelli
2023-07-18 8:00 ` [PATCH net-next 0/3] Remove some unused phylink legacy patchwork-bot+netdevbpf
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=ZLERQ2OBrv44Ppyc@shell.armlinux.org.uk \
--to=linux@armlinux$(echo .)org.uk \
--cc=Landen.Chao@mediatek$(echo .)com \
--cc=UNGLinuxDriver@microchip$(echo .)com \
--cc=alexandre.belloni@bootlin$(echo .)com \
--cc=andrew@lunn$(echo .)ch \
--cc=angelogioacchino.delregno@collabora$(echo .)com \
--cc=arinc.unal@arinc9$(echo .)com \
--cc=claudiu.manoil@nxp$(echo .)com \
--cc=daniel@makrotopia$(echo .)org \
--cc=davem@davemloft$(echo .)net \
--cc=dqfext@gmail$(echo .)com \
--cc=edumazet@google$(echo .)com \
--cc=f.fainelli@gmail$(echo .)com \
--cc=florian.fainelli@broadcom$(echo .)com \
--cc=hkallweit1@gmail$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-mediatek@lists$(echo .)infradead.org \
--cc=matthias.bgg@gmail$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=olteanv@gmail$(echo .)com \
--cc=pabeni@redhat$(echo .)com \
--cc=sean.wang@mediatek$(echo .)com \
--cc=woojung.huh@microchip$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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