linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: jz4740: Remove unused local variable
@ 2016-04-18 16:04 Maarten ter Huurne
  2016-04-19 11:04 ` Harvey Hunt
  2016-04-20 15:44 ` Boris Brezillon
  0 siblings, 2 replies; 3+ messages in thread
From: Maarten ter Huurne @ 2016-04-18 16:04 UTC (permalink / raw)
  To: Boris Brezillon; +Cc: linux-mtd, linux-kernel, Maarten ter Huurne

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
---
 drivers/mtd/nand/jz4740_nand.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c
index 673ceb2..2f39ee1 100644
--- a/drivers/mtd/nand/jz4740_nand.c
+++ b/drivers/mtd/nand/jz4740_nand.c
@@ -221,7 +221,6 @@ static int jz_nand_correct_ecc_rs(struct mtd_info *mtd, uint8_t *dat,
 	struct jz_nand *nand = mtd_to_jz_nand(mtd);
 	int i, error_count, index;
 	uint32_t reg, status, error;
-	uint32_t t;
 	unsigned int timeout = 1000;
 
 	for (i = 0; i < 9; ++i)
-- 
2.6.6

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: nand: jz4740: Remove unused local variable
  2016-04-18 16:04 [PATCH] mtd: nand: jz4740: Remove unused local variable Maarten ter Huurne
@ 2016-04-19 11:04 ` Harvey Hunt
  2016-04-20 15:44 ` Boris Brezillon
  1 sibling, 0 replies; 3+ messages in thread
From: Harvey Hunt @ 2016-04-19 11:04 UTC (permalink / raw)
  To: Maarten ter Huurne, Boris Brezillon; +Cc: linux-mtd, linux-kernel

Hi Maarten,

On 18/04/16 17:04, Maarten ter Huurne wrote:
> Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
> ---
>   drivers/mtd/nand/jz4740_nand.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c
> index 673ceb2..2f39ee1 100644
> --- a/drivers/mtd/nand/jz4740_nand.c
> +++ b/drivers/mtd/nand/jz4740_nand.c
> @@ -221,7 +221,6 @@ static int jz_nand_correct_ecc_rs(struct mtd_info *mtd, uint8_t *dat,
>   	struct jz_nand *nand = mtd_to_jz_nand(mtd);
>   	int i, error_count, index;
>   	uint32_t reg, status, error;
> -	uint32_t t;
>   	unsigned int timeout = 1000;
>
>   	for (i = 0; i < 9; ++i)
>

Acked-by: Harvey Hunt <harvey.hunt@imgtec.com>

Thanks,

Harvey

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: nand: jz4740: Remove unused local variable
  2016-04-18 16:04 [PATCH] mtd: nand: jz4740: Remove unused local variable Maarten ter Huurne
  2016-04-19 11:04 ` Harvey Hunt
@ 2016-04-20 15:44 ` Boris Brezillon
  1 sibling, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2016-04-20 15:44 UTC (permalink / raw)
  To: Maarten ter Huurne; +Cc: linux-mtd, linux-kernel

On Mon, 18 Apr 2016 18:04:56 +0200
Maarten ter Huurne <maarten@treewalker.org> wrote:

> Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>

Applied.

Thanks,

Boris

> ---
>  drivers/mtd/nand/jz4740_nand.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c
> index 673ceb2..2f39ee1 100644
> --- a/drivers/mtd/nand/jz4740_nand.c
> +++ b/drivers/mtd/nand/jz4740_nand.c
> @@ -221,7 +221,6 @@ static int jz_nand_correct_ecc_rs(struct mtd_info *mtd, uint8_t *dat,
>  	struct jz_nand *nand = mtd_to_jz_nand(mtd);
>  	int i, error_count, index;
>  	uint32_t reg, status, error;
> -	uint32_t t;
>  	unsigned int timeout = 1000;
>  
>  	for (i = 0; i < 9; ++i)



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-20 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18 16:04 [PATCH] mtd: nand: jz4740: Remove unused local variable Maarten ter Huurne
2016-04-19 11:04 ` Harvey Hunt
2016-04-20 15:44 ` Boris Brezillon

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).