mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <ahmad@a3f.at>
To: barebox@lists.infradead.org
Subject: [PATCH 3/5] net: remove unused Kconfig options
Date: Wed, 29 Apr 2020 07:39:12 +0200	[thread overview]
Message-ID: <20200429053914.4775-3-ahmad@a3f.at> (raw)
In-Reply-To: <20200429053914.4775-1-ahmad@a3f.at>

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@a3f.at>
---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2020-04-29  5:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-29  5:39 [PATCH 1/5] commands: remove left-over CMD_AT91MUX Kconfig option Ahmad Fatoum
2020-04-29  5:39 ` [PATCH 2/5] x86: mach-i386: remove unused X86_GENERIC_HAS_{ISA, PCI, USB} options Ahmad Fatoum
2020-04-29  5:39 ` Ahmad Fatoum [this message]
2020-04-29  5:39 ` [PATCH 4/5] net: enc28j60: fix typo in referenced Kconfig option Ahmad Fatoum
2020-04-29  5:39 ` [PATCH 5/5] PPC: remove unused left-over " Ahmad Fatoum
2020-04-29  7:09 ` [PATCH 1/5] commands: remove left-over CMD_AT91MUX " Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200429053914.4775-3-ahmad@a3f.at \
    --to=ahmad@a3f.at \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox