Patchwork sparc: delete unused config symbols

login
register
mail settings
Submitter Sam Ravnborg
Date Dec. 25, 2008, 11:47 p.m.
Message ID <20081225234735.GA14777@uranus.ravnborg.org>
Download mbox | patch
Permalink /patch/15657/
State Accepted
Delegated to: David Miller
Headers show

Comments

Sam Ravnborg - Dec. 25, 2008, 11:47 p.m.
There is no need to define a config symbol if
it is never set to any value. Undefined symbols equal
to 'n'.

GENERIC_GPIO looks like it is similar but
it is set using select in some other file so
it must be kept.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
 arch/sparc/Kconfig |   28 ----------------------------
 1 files changed, 0 insertions(+), 28 deletions(-)
David Miller - Jan. 3, 2009, 2:14 a.m.
From: Sam Ravnborg <sam@ravnborg.org>
Date: Fri, 26 Dec 2008 00:47:35 +0100

> There is no need to define a config symbol if
> it is never set to any value. Undefined symbols equal
> to 'n'.
> 
> GENERIC_GPIO looks like it is similar but
> it is set using select in some other file so
> it must be kept.
> 
> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

Applied, thanks Sam.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 0a94d9c..002f7b4 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -188,14 +188,6 @@  config ARCH_MAY_HAVE_PC_FDC
 	bool
 	default y
 
-config ARCH_HAS_ILOG2_U32
-	bool
-	default n
-
-config ARCH_HAS_ILOG2_U64
-	bool
-	default n
-
 config EMULATED_CMPXCHG
 	bool
 	default y if SPARC32
@@ -442,26 +434,6 @@  config SERIAL_CONSOLE
 endmenu
 
 menu "Bus options (PCI etc.)"
-config ISA
-	bool
-	help
-	  ISA is found on Espresso only and is not supported currently.
-
-config ISAPNP
-	bool
-	help
-	  ISAPNP is not supported
-
-config EISA
-	bool
-	help
-	  EISA is not supported.
-
-config MCA
-	bool
-	help
-	  MCA is not supported.
-
 config SBUS
 	bool
 	default y