summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2016-04-18 18:04:56 +0200
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-05-05 23:51:56 +0200
commit99fec60aad7a5520effbaadd3bbbe8001e9242eb (patch)
tree91df14512c15c5b183cec617fffd1ec956620374 /drivers/mtd/nand
parente99b0d9865949e1bb41d1462427e200a6f9eb973 (diff)
mtd: nand: jz4740: Remove unused local variable
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>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/jz4740_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c
index df7440872df0..5551c36adbdf 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)