diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-06-16 22:06:32 +0100 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-17 16:25:20 -0700 |
| commit | d54d42a41b65d79ac4aacfbe1b3374eec217ceb4 (patch) | |
| tree | 1a3e52280ae91c44e19299281d03a402d9a3f4d8 /scripts/lib/kdoc/kdoc_files.py | |
| parent | 1a3a638d2d23467cd9db06eb2bfdf4c185a8e9db (diff) | |
net: stmmac: visconti: make phy_intf_sel local
There is little need to have phy_intf_sel as a member of struct
visconti_eth when we have the PHY interface mode available from
phylink in visconti_eth_set_clk_tx_rate(). Without multiple
interface support, phylink is fixed to supporting only
plat->phy_interface, so we can be sure that "interface" passed
into this function is the same as plat->phy_interface.
Make phy_intf_sel local to visconti_eth_init_hw() and clean up.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1uRH2G-004UyY-GD@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
