Skip to content

Commit

Permalink
net: phy: remove redundant "depends on" lines
Browse files Browse the repository at this point in the history
Delete a few lines of "depends on PHYLIB" since they are inside
an "if PHYLIB / endif # PHYLIB" block, i.e., they are redundant
and the other 50+ drivers there don't use "depends on PHYLIB"
since it is not needed.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Link: https://lore.kernel.org/r/20221207044257.30036-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Randy Dunlap authored and Jakub Kicinski committed Dec 9, 2022
1 parent b534dc4 commit 0bdff11
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/net/phy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ config LED_TRIGGER_PHY

config FIXED_PHY
tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
depends on PHYLIB
select SWPHY
help
Adds the platform "fixed" MDIO Bus to cover the boards that use
Expand Down Expand Up @@ -112,7 +111,6 @@ config BROADCOM_PHY

config BCM54140_PHY
tristate "Broadcom BCM54140 PHY"
depends on PHYLIB
depends on HWMON || HWMON=n
select BCM_NET_PHYLIB
help
Expand All @@ -137,7 +135,6 @@ config BCM7XXX_PHY

config BCM84881_PHY
tristate "Broadcom BCM84881 PHY"
depends on PHYLIB
help
Support the Broadcom BCM84881 PHY.

Expand Down

0 comments on commit 0bdff11

Please sign in to comment.