mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: Chen Liqin <liqin.chen@sunplusct.com>, Lennox Wu <lennox.wu@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] [RESEND] score: Kconfig: drop nine selects and one entry
Date: Wed, 06 Mar 2013 10:17:21 +0100	[thread overview]
Message-ID: <1362561441.16460.164.camel@x61.thuisdomein> (raw)
In-Reply-To: <1321136297.20271.15.camel@x61.thuisdomein>

The config entries in the "System type" choice each use the same three
select statements. The Kconfig symbol SYS_SUPPORTS_32BIT_KERNEL is only
used by mips. The Kconfig symbol CPU_SCORE7 is used once, in an (almost)
empty Kconfig entry, and there are no uses of CONFIG_CPU_SCORE7. (This
means that the CPU_SCORE7 entry can also be dropped.) And
GENERIC_HAS_IOMAP is a typo. It should have been GENERIC_IOMAP. But
there's an entry for GENERIC_IOMAP that defaults to y, so no one
noticed.

So all selects from the config entries in this choice can be dropped.
And so can the CPU_SCORE7 config entry.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
0) This patch was first sent over a year ago. Now I have reapplied it on
top of v3.9-rc1, which required a trivial adaption to context changes.

1) Still git grep tested only.

2) Please note that ARCH_SCORE7, MACH_SPCT6600, and SCORE_SIM still
aren't used anywhere else. There are also no uses of CONFIG_ARCH_SCORE7,
CONFIG_MACH_SPCT6600, and CONFIG_SCORE_SIM macros. Perhaps the entire
"System type" choice can be dropped.

 arch/score/Kconfig | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/arch/score/Kconfig b/arch/score/Kconfig
index e569aa1..382b996 100644
--- a/arch/score/Kconfig
+++ b/arch/score/Kconfig
@@ -22,28 +22,17 @@ choice
 
 config ARCH_SCORE7
 	bool "SCORE7 processor"
-	select SYS_SUPPORTS_32BIT_KERNEL
-	select CPU_SCORE7
-	select GENERIC_HAS_IOMAP
 
 config MACH_SPCT6600
 	bool "SPCT6600 series based machines"
-	select SYS_SUPPORTS_32BIT_KERNEL
-	select CPU_SCORE7
-	select GENERIC_HAS_IOMAP
 
 config SCORE_SIM
 	bool "Score simulator"
-	select SYS_SUPPORTS_32BIT_KERNEL
-	select CPU_SCORE7
-	select GENERIC_HAS_IOMAP
+
 endchoice
 
 endmenu
 
-config CPU_SCORE7
-	bool
-
 config NO_DMA
 	bool
 	default y
-- 
1.7.11.7


      reply	other threads:[~2013-03-06  9:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-12 22:18 [PATCH] " Paul Bolle
2013-03-06  9:17 ` Paul Bolle [this message]

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=1362561441.16460.164.camel@x61.thuisdomein \
    --to=pebolle@tiscali.nl \
    --cc=lennox.wu@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liqin.chen@sunplusct.com \
    /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

all inboxes | Powered by JetHome®