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>
This commit is contained in:
Claudio Scordino 2009-10-07 14:27:07 +02:00 коммит произвёл David Woodhouse
Родитель 8032747e76
Коммит e4af3bf633
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -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 */