net: phy: remove redundant dependency on NETDEVICES for PHYLINK and PHYLIB
Subsystems (3)
Heiner Kallweit
maintainerPATCH 1/1 net: phy: remove redundant dependency on NETDEVICES for PHYLINK and PHYLIB
drivers/net/phy/Kconfig is included from drivers/net/Kconfig in an "if NETDEVICES" section. Therefore we don't have to duplicate the dependency here. And if e.g. PHYLINK is selected somewhere, then the dependency is ignored anyway (see note in Kconfig help).
--- drivers/net/phy/Kconfig | 2 -- 1 file changed, 2 deletions(-)
drivers/net/phy/Kconfig +0 -2
@@ -5,7 +5,6 @@ config PHYLINK tristate - depends on NETDEVICES select PHYLIB select SWPHY help
@@ -15,7 +14,6 @@ config PHYLINK menuconfig PHYLIB tristate "PHY Device support and infrastructure" - depends on NETDEVICES select MDIO_DEVICE select MDIO_DEVRES help
Signature · 1 line
2.49.0
Quoted 6 lines · Heiner Kallweit
drivers/net/phy/Kconfigis included fromdrivers/net/Kconfigin an "if NETDEVICES" section. Therefore we don't have to duplicate the dependency here. And if e.g. PHYLINK is selected somewhere, then the dependency is ignored anyway (see note inKconfighelp).Signed-off-by Heiner Kallweit <[email protected]>
Quoted 6 lines · Heiner Kallweit
drivers/net/phy/Kconfigis included fromdrivers/net/Kconfigin an "if NETDEVICES" section. Therefore we don't have to duplicate the dependency here. And if e.g. PHYLINK is selected somewhere, then the dependency is ignored anyway (see note inKconfighelp).Signed-off-by Heiner Kallweit <[email protected]>
Thanks!
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Sun, 13 Apr 2025 23:23:25 +0200 you wrote:
drivers/net/phy/Kconfigis included fromdrivers/net/Kconfigin an "if NETDEVICES" section. Therefore we don't have to duplicate the dependency here. And if e.g. PHYLINK is selected somewhere, then the dependency is ignored anyway (see note inKconfighelp).Signed-off-by Heiner Kallweit <[email protected]>[...]
Here is the summary with links:
- [net-next] net: phy: remove redundant dependency on NETDEVICES for PHYLINK and PHYLIB
https://git.kernel.org/netdev/net-next/c/1310f44dd4d6
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html