unused Kconfig variable MTD_NAND_ATMEL_ECC_SOFT

Robert P. J. Day rpjday at crashcourse.ca
Thu Sep 10 07:23:38 EDT 2009


  just an observation that that Kconfig variable appears to be
entirely unused.  from drivers/mtd/nand/Kconfig:

config MTD_NAND_ATMEL_ECC_SOFT
        bool "Software ECC"
        help
          Use software ECC.

          NB : hardware and software ECC schemes are incompatible.
          If you switch from one to another, you'll have to erase your
          mtd partition.


  however,

$ grep -r MTD_NAND_ATMEL_ECC_SOFT *
arch/arm/configs/kb9202_defconfig:CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y
arch/arm/configs/usb-a9260_defconfig:CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y
arch/arm/configs/qil-a9260_defconfig:CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y
arch/arm/configs/afeb9260_defconfig:CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y
arch/arm/configs/usb-a9263_defconfig:CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y
arch/arm/configs/neocore926_defconfig:# CONFIG_MTD_NAND_ATMEL_ECC_SOFT is not set
arch/arm/configs/at91sam9g20ek_defconfig:CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y
arch/arm/configs/cam60_defconfig:# CONFIG_MTD_NAND_ATMEL_ECC_SOFT is not set
arch/avr32/configs/atstk1006_defconfig:# CONFIG_MTD_NAND_ATMEL_ECC_SOFT is not set
drivers/mtd/nand/Kconfig:config MTD_NAND_ATMEL_ECC_SOFT
$

  no, i don't have a patch for that as i have no idea what a
resolution is, although it's clearly not a problem, just an unused
variable.  but if someone wants to suggest a fix, i can quickly whip
up a patch.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================



More information about the linux-mtd mailing list