linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] atmel_nand: unused variable "eccpos" removed
@ 2009-10-07 12:40 Claudio Scordino
  0 siblings, 0 replies; only message in thread
From: Claudio Scordino @ 2009-10-07 12:40 UTC (permalink / raw)
  To: dwmw2, linux-mtd

[-- Attachment #1: Type: text/plain, Size: 134 bytes --]

Hi everybody,

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

Best regards,

              Claudio






[-- Attachment #2: 0001-atmel_nand-unused-variable-removed.patch --]
[-- Type: text/x-patch, Size: 829 bytes --]

From: Claudio Scordino <claudio@evidence.eu.com>
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.

Signed-off-by: Claudio Scordino <claudio@evidence.eu.com>
---
 drivers/mtd/nand/atmel_nand.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c
index f8e9975..4f62d20 100644
--- 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 */
-- 
1.6.0.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-07 12:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07 12:40 [PATCH 1/1] atmel_nand: unused variable "eccpos" removed Claudio Scordino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).