public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* unused MTD-related config variable
@ 2010-03-30 12:36 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2010-03-30 12:36 UTC (permalink / raw)
  To: MTD mailing list


  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
========================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-30 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-30 12:36 unused MTD-related config variable Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox