]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: ethernet: remove duplicated CONFIG_SUNGEM_PHY entry
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 4 Feb 2024 12:31:51 +0000 (21:31 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Feb 2024 13:17:51 +0000 (13:17 +0000)
Both drivers/net/Kconfig and drivers/net/ethernet/Kconfig contain the
same config entry:

  config SUNGEM_PHY
          tristate

Commit f860b0522f65 ("drivers/net: Kconfig and Makefile cleanup") moved
SUNGEM_PHY from drivers/net/Kconfig to drivers/net/ethernet/Kconfig.

Shortly after it was applied, commit 19e2f6fe9601 ("net: Fix sungem_phy
sharing.") added the second one to drivers/net/Kconfig.

I kept the one in drivers/net/Kconfig because this CONFIG option controls
the compilation of drivers/net/sungem_phy.c.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/Kconfig

index 5a274b99f2992131505443f461a42f7f59a3bd07..6a19b5393ed1132de02426db7e8f3f3750be1beb 100644 (file)
@@ -15,9 +15,6 @@ if ETHERNET
 config MDIO
        tristate
 
-config SUNGEM_PHY
-       tristate
-
 source "drivers/net/ethernet/3com/Kconfig"
 source "drivers/net/ethernet/actions/Kconfig"
 source "drivers/net/ethernet/adaptec/Kconfig"