Skip to contentSkip to conversation

atmel_nand: unused variable "eccpos" removed

PATCH New Claudio Scordino 1 participant 1 message Oct 7, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atmel_nand: unused variable "eccpos" removed

Hi everybody,

this (trivial) patch removes an unused variable from atmel_nand driver.

Best regards,

Claudio

From: Claudio Scordino <[email protected]>
Date: Wed, 7 Oct 2009 14:27:07 +0200
Subject: [PATCH 1/1] atmel_nand: unused variable removed

Unused variable "eccpos" removed from atmel_nand driver.

---
 drivers/mtd/nand/atmel_nand.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/mtd/nand/atmel_nand.c +0 -1
index f8e9975..4f62d20 100644
@@ -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 */
Signature · 1 line
1.6.0.4