mbox series

[net-next,0/5] net: stmmac: cleanups

Message ID ZlXEgl7tgdWMNvoB@shell.armlinux.org.uk (mailing list archive)
Headers show
Series net: stmmac: cleanups | expand

Message

Russell King (Oracle) May 28, 2024, 11:48 a.m. UTC
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(-)