mtd: spinand: Remove useless write enable op

Change-Id: I5e4c953e1107c52bf4a40d397bd92617107b21f1
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin 2020-07-13 15:43:40 +08:00
parent fc656fc366
commit 02ed3e1202
1 changed files with 0 additions and 4 deletions

View File

@ -705,10 +705,6 @@ static int spinand_markbad(struct nand_device *nand, const struct nand_pos *pos)
if (ret)
return ret;
ret = spinand_write_enable_op(spinand);
if (ret)
return ret;
return spinand_write_page(spinand, &req);
}