Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: stmmac: mediatek: stop initialising plat->mac_interface

Mediatek doesn't make use of mac_interface, and none of the in-tree
DT files use the mac-mode property. Therefore, mac_interface already
follows phy_interface. Remove this unnecessary assignment.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1u4zyh-000xVE-PG@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Russell King (Oracle) and committed by
Jakub Kicinski
01be295b 7c6cd70f

-1
-1
drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c
··· 581 581 int i; 582 582 583 583 priv_plat->phy_mode = plat->phy_interface; 584 - plat->mac_interface = priv_plat->phy_mode; 585 584 if (priv_plat->mac_wol) 586 585 plat->flags &= ~STMMAC_FLAG_USE_PHY_WOL; 587 586 else