提交 0bdff115 编写于 作者: R Randy Dunlap 提交者: Jakub Kicinski

net: phy: remove redundant "depends on" lines

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: NRandy 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.orgSigned-off-by: NJakub Kicinski <kuba@kernel.org>
上级 b534dc46
...@@ -47,7 +47,6 @@ config LED_TRIGGER_PHY ...@@ -47,7 +47,6 @@ config LED_TRIGGER_PHY
config FIXED_PHY config FIXED_PHY
tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs" tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
depends on PHYLIB
select SWPHY select SWPHY
help help
Adds the platform "fixed" MDIO Bus to cover the boards that use Adds the platform "fixed" MDIO Bus to cover the boards that use
...@@ -112,7 +111,6 @@ config BROADCOM_PHY ...@@ -112,7 +111,6 @@ config BROADCOM_PHY
config BCM54140_PHY config BCM54140_PHY
tristate "Broadcom BCM54140 PHY" tristate "Broadcom BCM54140 PHY"
depends on PHYLIB
depends on HWMON || HWMON=n depends on HWMON || HWMON=n
select BCM_NET_PHYLIB select BCM_NET_PHYLIB
help help
...@@ -137,7 +135,6 @@ config BCM7XXX_PHY ...@@ -137,7 +135,6 @@ config BCM7XXX_PHY
config BCM84881_PHY config BCM84881_PHY
tristate "Broadcom BCM84881 PHY" tristate "Broadcom BCM84881 PHY"
depends on PHYLIB
help help
Support the Broadcom BCM84881 PHY. Support the Broadcom BCM84881 PHY.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册