summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorClaudio Scordino <claudio@evidence.eu.com>2009-10-07 12:27:07 (GMT)
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-10-08 08:39:54 (GMT)
commite4af3bf6334341435740fce9ff236ba814686b99 (patch)
treebfeea5e9df39f61eef309e67cc6a05ae892298df /drivers/mtd
parent8032747e7680a31cdde293421af62d2e1904c528 (diff)
downloadlinux-fsl-qoriq-e4af3bf6334341435740fce9ff236ba814686b99.tar.xz
mtd: atmel_nand: unused variable removed
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/atmel_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index f8e9975..4f62d20 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 */