* [PATCH] atmel_nand: silence compiler warning by removing unused variable
@ 2009-10-29 12:04 Hans-Christian Egtvedt
2009-10-29 12:54 ` Claudio Scordino
0 siblings, 1 reply; 3+ messages in thread
From: Hans-Christian Egtvedt @ 2009-10-29 12:04 UTC (permalink / raw)
To: linux-mtd; +Cc: Hans-Christian Egtvedt
This patch removes the eccpos variable from the atmel_nand_calculate function,
thus silencing a compiler warning about unused variable.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.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] 3+ messages in thread* Re: [PATCH] atmel_nand: silence compiler warning by removing unused variable
2009-10-29 12:04 [PATCH] atmel_nand: silence compiler warning by removing unused variable Hans-Christian Egtvedt
@ 2009-10-29 12:54 ` Claudio Scordino
2009-10-29 13:03 ` Hans-Christian Egtvedt
0 siblings, 1 reply; 3+ messages in thread
From: Claudio Scordino @ 2009-10-29 12:54 UTC (permalink / raw)
To: Hans-Christian Egtvedt; +Cc: linux-mtd
Hans-Christian Egtvedt ha scritto:
> This patch removes the eccpos variable from the atmel_nand_calculate function,
> thus silencing a compiler warning about unused variable.
>
Hi,
I already sent this patch to this list on October 7th.
See:
http://lists.infradead.org/pipermail/linux-mtd/2009-October/027498.html
Best regards,
Claudio
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] atmel_nand: silence compiler warning by removing unused variable
2009-10-29 12:54 ` Claudio Scordino
@ 2009-10-29 13:03 ` Hans-Christian Egtvedt
0 siblings, 0 replies; 3+ messages in thread
From: Hans-Christian Egtvedt @ 2009-10-29 13:03 UTC (permalink / raw)
To: Claudio Scordino; +Cc: linux-mtd
On Thu, 29 Oct 2009 13:54:37 +0100
Claudio Scordino <claudio@evidence.eu.com> wrote:
> Hans-Christian Egtvedt ha scritto:
> > This patch removes the eccpos variable from the atmel_nand_calculate function,
> > thus silencing a compiler warning about unused variable.
> >
> Hi,
>
> I already sent this patch to this list on October 7th.
>
Okay, great, sorry for the noise then. I was working on Torvalds master
branch and spotted the trivial warning.
--
Best regards,
Hans-Christian Egtvedt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-29 13:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 12:04 [PATCH] atmel_nand: silence compiler warning by removing unused variable Hans-Christian Egtvedt
2009-10-29 12:54 ` Claudio Scordino
2009-10-29 13:03 ` Hans-Christian Egtvedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox