Skip to content

Commit

Permalink
mtd: atmel_nand: unused variable removed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Claudio Scordino authored and David Woodhouse committed Oct 8, 2009
1 parent 8032747 commit e4af3bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mtd/nand/atmel_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e4af3bf

Please sign in to comment.