mtd: nand: jz4740: Remove unused local variable
authorMaarten ter Huurne <maarten@treewalker.org>
Mon, 18 Apr 2016 16:04:56 +0000 (18:04 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:51:56 +0000 (23:51 +0200)
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Acked-by: Harvey Hunt <harvey.hunt@imgtec.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/jz4740_nand.c

index df7440872df0fd138b03fa5529aa75ff9f9dc075..5551c36adbdf173b7df20629c36b065551f9d4ba 100644 (file)
@@ -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)