From: Claudio Scordino Date: Wed, 7 Oct 2009 12:27:07 +0000 (+0200) Subject: mtd: atmel_nand: unused variable removed X-Git-Tag: v2.6.33-rc1~66^2~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e4af3bf6334341435740fce9ff236ba814686b99;p=thirdparty%2Fkernel%2Flinux.git mtd: atmel_nand: unused variable removed Unused variable "eccpos" removed from atmel_nand driver. Signed-off-by: Claudio Scordino Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index f8e9975c86e56..4f62d207b87bf 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c @@ -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 */