Commit e4af3bf6 authored by Claudio Scordino's avatar Claudio Scordino Committed by David Woodhouse

mtd: atmel_nand: unused variable removed

Unused variable "eccpos" removed from atmel_nand driver.
Signed-off-by: default avatarClaudio Scordino <claudio@evidence.eu.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 8032747e
...@@ -192,7 +192,6 @@ static int atmel_nand_calculate(struct mtd_info *mtd, ...@@ -192,7 +192,6 @@ static int atmel_nand_calculate(struct mtd_info *mtd,
{ {
struct nand_chip *nand_chip = mtd->priv; struct nand_chip *nand_chip = mtd->priv;
struct atmel_nand_host *host = nand_chip->priv; struct atmel_nand_host *host = nand_chip->priv;
uint32_t *eccpos = nand_chip->ecc.layout->eccpos;
unsigned int ecc_value; unsigned int ecc_value;
/* get the first 2 ECC bytes */ /* get the first 2 ECC bytes */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment