diff options
author | Claudio Scordino <claudio@evidence.eu.com> | 2009-10-07 08:27:07 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-10-08 04:39:54 -0400 |
commit | e4af3bf6334341435740fce9ff236ba814686b99 (patch) | |
tree | bfeea5e9df39f61eef309e67cc6a05ae892298df /drivers/mtd/nand | |
parent | 8032747e7680a31cdde293421af62d2e1904c528 (diff) |
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/nand')
-rw-r--r-- | drivers/mtd/nand/atmel_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index f8e9975c86e5..4f62d207b87b 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, | |||
192 | { | 192 | { |
193 | struct nand_chip *nand_chip = mtd->priv; | 193 | struct nand_chip *nand_chip = mtd->priv; |
194 | struct atmel_nand_host *host = nand_chip->priv; | 194 | struct atmel_nand_host *host = nand_chip->priv; |
195 | uint32_t *eccpos = nand_chip->ecc.layout->eccpos; | ||
196 | unsigned int ecc_value; | 195 | unsigned int ecc_value; |
197 | 196 | ||
198 | /* get the first 2 ECC bytes */ | 197 | /* get the first 2 ECC bytes */ |