Skip to contentSkip to conversation

unused MTD-related config variable

DISCUSSION Robert P. J. Day 1 participant 1 message Mar 30, 2010 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore 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:

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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 */

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

========================================================================