]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: clean up stmmac_mac_select_pcs()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 13 Jun 2024 10:36:27 +0000 (11:36 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 15 Jun 2024 02:06:41 +0000 (19:06 -0700)
commit93f84152e4aed84a246767f13da06f4a907328ef
tree451d922af1e053258f6548d209338af19ed4f682
parent98a6d9f192d32148a8b3ae4c8734fffb10bf0fb0
net: stmmac: clean up stmmac_mac_select_pcs()

Since all platform providers of PCS now populate the select_pcs()
method, there is no need for the common code to look at
priv->hw->phylink_pcs, so remove it.

Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1sHhoh-00FetT-3S@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c