mtd: nand: jz4740: Remove unused local variable

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon May 23 21:59:21 PDT 2016


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=99fec60aad7a5520effbaadd3bbbe8001e9242eb
Commit:     99fec60aad7a5520effbaadd3bbbe8001e9242eb
Parent:     e99b0d9865949e1bb41d1462427e200a6f9eb973
Author:     Maarten ter Huurne <maarten at treewalker.org>
AuthorDate: Mon Apr 18 18:04:56 2016 +0200
Committer:  Boris Brezillon <boris.brezillon at free-electrons.com>
CommitDate: Thu May 5 23:51:56 2016 +0200

    mtd: nand: jz4740: Remove unused local variable
    
    Signed-off-by: Maarten ter Huurne <maarten at treewalker.org>
    Acked-by: Harvey Hunt <harvey.hunt at imgtec.com>
    Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
 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 df74408..5551c36 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)



More information about the linux-mtd-cvs mailing list