aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/wireguard/socket.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-06-16 22:06:32 +0100
committerJakub Kicinski <kuba@kernel.org>2025-06-17 16:25:20 -0700
commitd54d42a41b65d79ac4aacfbe1b3374eec217ceb4 (patch)
tree1a3e52280ae91c44e19299281d03a402d9a3f4d8 /drivers/net/wireguard/socket.c
parentnet: stmmac: visconti: clean up code formatting (diff)
downloadwireguard-linux-d54d42a41b65d79ac4aacfbe1b3374eec217ceb4.tar.xz
wireguard-linux-d54d42a41b65d79ac4aacfbe1b3374eec217ceb4.zip
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 'drivers/net/wireguard/socket.c')
0 files changed, 0 insertions, 0 deletions