mtd: atmel_nand: unused variable removed
authorClaudio Scordino <claudio@evidence.eu.com>
Wed, 7 Oct 2009 12:27:07 +0000 (14:27 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 8 Oct 2009 08:39:54 +0000 (09:39 +0100)
Unused variable "eccpos" removed from atmel_nand driver.

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/atmel_nand.c

index f8e9975..4f62d20 100644 (file)
@@ -192,7 +192,6 @@ static int atmel_nand_calculate(struct mtd_info *mtd,
 {
        struct nand_chip *nand_chip = mtd->priv;
        struct atmel_nand_host *host = nand_chip->priv;
-       uint32_t *eccpos = nand_chip->ecc.layout->eccpos;
        unsigned int ecc_value;
 
        /* get the first 2 ECC bytes */