projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8032747
)
mtd: atmel_nand: unused variable removed
author
Claudio Scordino
<claudio@evidence.eu.com>
Wed, 7 Oct 2009 12:27:07 +0000
(14:27 +0200)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/atmel_nand.c
b/drivers/mtd/nand/atmel_nand.c
index f8e9975c86e562ca471601ca5f129ee9f402e7cc..4f62d207b87bfd98aa118b521dc297ec4c85604e 100644
(file)
--- 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 */