linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] net: stmmac: cleanups
@ 2024-05-28 11:48 Russell King (Oracle)
  2024-05-28 11:48 ` [PATCH net-next 1/5] net: stmmac: Drop TBI/RTBI PCS flags Russell King
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Russell King (Oracle) @ 2024-05-28 11:48 UTC (permalink / raw)
  To: Serge Semin
  Cc: Alexandre Torgue, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Jose Abreu, linux-arm-kernel, linux-stm32, Maxime Coquelin,
	netdev, Paolo Abeni

Hi,

This series removes various redundant items in the stmmac driver:

- the unused TBI and RTBI PCS flags
- the NULL pointer initialisations for PCS methods in dwxgmac2
- the stmmac_pcs_rane() method which is never called, and it's
  associated implementations
- the redundant netif_carrier_off()s

Finally, it replaces asm/io.h with the preferred linux/io.h.

 drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c |  8 +-------
 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c    |  8 --------
 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c  |  6 ------
 drivers/net/ethernet/stmicro/stmmac/hwif.h           |  3 ---
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c    |  8 +-------
 drivers/net/ethernet/stmicro/stmmac/stmmac_pcs.h     | 17 -----------------
 6 files changed, 2 insertions(+), 48 deletions(-)

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-05-28 20:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 11:48 [PATCH net-next 0/5] net: stmmac: cleanups Russell King (Oracle)
2024-05-28 11:48 ` [PATCH net-next 1/5] net: stmmac: Drop TBI/RTBI PCS flags Russell King
2024-05-28 12:26   ` Serge Semin
2024-05-28 13:20     ` Russell King (Oracle)
2024-05-28 20:38       ` Andrew Halaney
2024-05-28 11:48 ` [PATCH net-next 2/5] net: stmmac: dwxgmac2: remove useless NULL pointer initialisations Russell King (Oracle)
2024-05-28 20:39   ` Andrew Halaney
2024-05-28 11:48 ` [PATCH net-next 3/5] net: stmmac: remove pcs_rane() method Russell King (Oracle)
2024-05-28 20:40   ` Andrew Halaney
2024-05-28 11:48 ` [PATCH net-next 4/5] net: stmmac: remove unnecessary netif_carrier_off() Russell King (Oracle)
2024-05-28 20:41   ` Andrew Halaney
2024-05-28 11:48 ` [PATCH net-next 5/5] net: stmmac: include linux/io.h rather than asm/io.h Russell King (Oracle)
2024-05-28 20:48   ` Andrew Halaney

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).