[PATCH net-next 0/5] net: stmmac: cleanups
Russell King (Oracle)
linux at armlinux.org.uk
Tue May 28 04:48:18 PDT 2024
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!
More information about the linux-arm-kernel
mailing list