Commit 99fec60a authored by Maarten ter Huurne's avatar Maarten ter Huurne Committed by Boris Brezillon

mtd: nand: jz4740: Remove unused local variable

Signed-off-by: default avatarMaarten ter Huurne <maarten@treewalker.org>
Acked-by: default avatarHarvey Hunt <harvey.hunt@imgtec.com>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent e99b0d98
...@@ -221,7 +221,6 @@ static int jz_nand_correct_ecc_rs(struct mtd_info *mtd, uint8_t *dat, ...@@ -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); struct jz_nand *nand = mtd_to_jz_nand(mtd);
int i, error_count, index; int i, error_count, index;
uint32_t reg, status, error; uint32_t reg, status, error;
uint32_t t;
unsigned int timeout = 1000; unsigned int timeout = 1000;
for (i = 0; i < 9; ++i) for (i = 0; i < 9; ++i)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment