9
0
Fork 0

mtd: nand_imx: Remove redundant assignment

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2014-02-16 08:40:46 +04:00 committed by Sascha Hauer
parent 9fe20fd5b1
commit 2126c89004
1 changed files with 1 additions and 1 deletions

View File

@ -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;