Skip to contentSkip to conversation

s390: remove unused Kconfig params

PATCH In review Michael Opdenacker 2 participants 3 messages Sep 27, 2014 – Sep 30, 2014 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390: remove unused Kconfig params

Remove the below Kconfig parameters, which are no longer used anywhere in the source code and Makefiles:

HAVE_MARCH_Z900_FEATURES
HAVE_MARCH_Z990_FEATURES

---
 arch/s390/Kconfig | 10 ----------
 1 file changed, 10 deletions(-)
arch/s390/Kconfig +0 -10
index 05c78bb5f570..d8085a9e9ebd 100644
@@ -156,16 +156,8 @@ source "kernel/Kconfig.freezer"
 
 menu "Processor type and features"
 
-config HAVE_MARCH_Z900_FEATURES
-	def_bool n
-
-config HAVE_MARCH_Z990_FEATURES
-	def_bool n
-	select HAVE_MARCH_Z900_FEATURES
-
 config HAVE_MARCH_Z9_109_FEATURES
 	def_bool n
-	select HAVE_MARCH_Z990_FEATURES
 
 config HAVE_MARCH_Z10_FEATURES
 	def_bool n
@@ -192,7 +184,6 @@ config MARCH_G5
 
 config MARCH_Z900
 	bool "IBM zSeries model z800 and z900"
-	select HAVE_MARCH_Z900_FEATURES if 64BIT
 	help
 	  Select this to enable optimizations for model z800/z900 (2064 and
 	  2066 series). This will enable some optimizations that are not
@@ -200,7 +191,6 @@ config MARCH_Z900
 
 config MARCH_Z990
 	bool "IBM zSeries model z890 and z990"
-	select HAVE_MARCH_Z990_FEATURES if 64BIT
 	help
 	  Select this to enable optimizations for model z890/z990 (2084 and
 	  2086 series). The kernel will be slightly faster but will not work
Signature · 1 line
1.9.1
#2 lore raw

Hi Heiko,

Quoted 11 lines · Heiko Carstens
Quoted 7 lines · Michael Opdenacker

Remove the below Kconfig parameters, which are no longer used anywhere in the source code and Makefiles:

HAVE_MARCH_Z900_FEATURES
HAVE_MARCH_Z990_FEATURES

What I wrote you a year ago is still true:

https://lkml.org/lkml/2013/11/4/69

Thanks for your reply. I forgot about my earlier submission, as I only keep track of patches that haven't been accepted yet. I will keep track of "hopeless" rejected patches too...

There are multiple opinions about whether adding stuff not needed yet, or adding stuff only once they are needed. Anyway, as a maintainer, the decision is yours!

Cheers,

Michael.

Signature · 4 lines
Michael Opdenacker, CEO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
+33 484 258 098