From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: MTD mailing list <linux-mtd@lists.infradead.org>
Subject: unused MTD-related config variable
Date: Tue, 30 Mar 2010 08:36:30 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.00.1003300831210.6174@localhost> (raw)
just FYI:
drivers/mtd/nand/Kconfig:342:config MTD_NAND_ATMEL_ECC_SOFT
there appears to be no reference to that variable anywhere so it seems
to be superfluous.
also, the opposite situations hold here, where there *are* tests of
config variables that don't appear to be defined in any Kconfig file:
>>>>> MTD_NAND_OMAP_HWECC
drivers/mtd/nand/omap2.c:528:#ifdef CONFIG_MTD_NAND_OMAP_HWECC
drivers/mtd/nand/omap2.c:980:#ifdef CONFIG_MTD_NAND_OMAP_HWECC
>>>>> MTD_SUPERH_RESERVE
drivers/mtd/maps/solutionengine.c:38:#ifdef CONFIG_MTD_SUPERH_RESERVE
drivers/mtd/maps/solutionengine.c:44: .size = CONFIG_MTD_SUPERH_RESERVE,
drivers/mtd/maps/solutionengine.c:54:#endif /* CONFIG_MTD_SUPERH_RESERVE */
drivers/mtd/maps/solutionengine.c:97:#ifdef CONFIG_MTD_SUPERH_RESERVE
drivers/mtd/maps/solutionengine.c:100: CONFIG_MTD_SUPERH_RESERVE);
drivers/mtd/maps/solutionengine.c:104:#endif /* CONFIG_MTD_SUPERH_RESERVE */
>>>>> REDWOOD_6
drivers/net/smc91x.h:86:#elif defined(CONFIG_REDWOOD_5) || defined(CONFIG_REDWOOD_6)
drivers/mtd/maps/redwood.c:25:#if !defined (CONFIG_REDWOOD_6)
drivers/mtd/maps/redwood.c:72:#else /* CONFIG_REDWOOD_6 */
drivers/mtd/maps/redwood.c:111:#endif /* CONFIG_REDWOOD_6 */
arch/powerpc/platforms/40x/Kconfig:82:#config REDWOOD_6
drivers/net/Kconfig:909: depends on ARM || REDWOOD_5 || REDWOOD_6 || M32R || SUPERH || \
drivers/mtd/maps/Kconfig:324: depends on MTD_CFI && ( REDWOOD_4 || REDWOOD_5 || REDWOOD_6 )
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
reply other threads:[~2010-03-30 12:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=alpine.LFD.2.00.1003300831210.6174@localhost \
--to=rpjday@crashcourse.ca \
--cc=linux-mtd@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