aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2025-04-13 23:23:25 +0200
committerJakub Kicinski <kuba@kernel.org>2025-04-15 17:21:19 -0700
commit1310f44dd4d635f278fb01330fddf416106332ff (patch)
tree79d6908da0c6bd50e36f57155ce657cea3b15737
parenttc: Return an error if filters try to attach too many actions (diff)
downloadwireguard-linux-1310f44dd4d635f278fb01330fddf416106332ff.tar.xz
wireguard-linux-1310f44dd4d635f278fb01330fddf416106332ff.zip
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). Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/085892cd-aa11-4c22-bf8a-574a5c6dcd7c@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--drivers/net/phy/Kconfig2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index d29f9f7fd2e1..0b8cc325e2bf 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -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