mtd: atmel_nand: unused variable removed
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Thu Oct 8 11:59:01 EDT 2009
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=e4af3bf6334341435740fce9ff236ba814686b99
Commit: e4af3bf6334341435740fce9ff236ba814686b99
Parent: 8032747e7680a31cdde293421af62d2e1904c528
Author: Claudio Scordino <claudio at evidence.eu.com>
AuthorDate: Wed Oct 7 14:27:07 2009 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Thu Oct 8 09:39:54 2009 +0100
mtd: atmel_nand: unused variable removed
Unused variable "eccpos" removed from atmel_nand driver.
Signed-off-by: Claudio Scordino <claudio at evidence.eu.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
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 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 */
More information about the linux-mtd-cvs
mailing list