[PATCH 3/7] mtd: nand_imx: Remove redundant assignment
Alexander Shiyan
shc_work at mail.ru
Sat Feb 15 23:40:46 EST 2014
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
drivers/mtd/nand/nand_imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/nand_imx.c b/drivers/mtd/nand/nand_imx.c
index 6ca8911..e2aaa15 100644
--- a/drivers/mtd/nand/nand_imx.c
+++ b/drivers/mtd/nand/nand_imx.c
@@ -518,7 +518,7 @@ static int imx_nand_correct_data_v2_v3(struct mtd_info *mtd, u_char *dat,
struct nand_chip *nand_chip = mtd->priv;
struct imx_nand_host *host = nand_chip->priv;
u32 ecc_stat, err;
- int no_subpages = 1;
+ int no_subpages;
int ret = 0;
u8 ecc_bit_mask, err_limit;
--
1.8.3.2
More information about the barebox
mailing list