[PATCH 3/5] net: remove unused Kconfig options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Both options are used nowhere and can be dropped:

- OF_NET code is compiled always and code is discarded at link-time if
  unreferenced
- Designware Ethernet can be enabled in Kconfig and no arch code
  selects the symbol

Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
---
 drivers/net/Kconfig | 3 ---
 drivers/of/Kconfig  | 4 ----
 2 files changed, 7 deletions(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 5823320b03f1..efa16b30e40e 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -7,9 +7,6 @@ config HAS_AT91_ETHER
 config HAS_CS8900
 	bool
 
-config HAS_DESIGNWARE_ETH
-	bool
-
 config HAS_DM9000
 	bool
 
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig
index 9ed86afd748c..23be25d85d09 100644
--- a/drivers/of/Kconfig
+++ b/drivers/of/Kconfig
@@ -18,10 +18,6 @@ config OFDEVICE
 config OF_ADDRESS_PCI
 	bool
 
-config OF_NET
-	depends on NET
-	def_bool y
-
 config OF_GPIO
 	depends on GPIOLIB
 	depends on OFDEVICE
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux