mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 04:50:39 +02:00
code style cleanup jz4740_nand.c
This commit is contained in:
parent
ce96b1f2a5
commit
3dde1ac212
@ -206,7 +206,6 @@ static int jz_nand_correct_ecc_rs(struct mtd_info* mtd, uint8_t *dat,
|
||||
reg &= ~JZ_NAND_ECC_CTRL_ENABLE;
|
||||
writel(reg, nand->base + JZ_REG_NAND_ECC_CTRL);
|
||||
|
||||
|
||||
if (status & JZ_NAND_STATUS_ERROR) {
|
||||
if (status & JZ_NAND_STATUS_UNCOR_ERROR) {
|
||||
printk("uncorrectable ecc:");
|
||||
|
Loading…
Reference in New Issue
Block a user