Skip to content

Commit 1310f44

Browse files
hkallweitkuba-moo
authored andcommitted
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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Russell King (Oracle) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 5f5f929 commit 1310f44

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/net/phy/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
config PHYLINK
77
tristate
8-
depends on NETDEVICES
98
select PHYLIB
109
select SWPHY
1110
help
@@ -15,7 +14,6 @@ config PHYLINK
1514

1615
menuconfig PHYLIB
1716
tristate "PHY Device support and infrastructure"
18-
depends on NETDEVICES
1917
select MDIO_DEVICE
2018
select MDIO_DEVRES
2119
help

0 commit comments

Comments
 (0)