1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-28 23:01:52 +02:00

code style cleanup jz4740_nand.c

This commit is contained in:
Xiangfu Liu 2009-10-04 11:42:27 -04:00
parent ce96b1f2a5
commit 3dde1ac212

View File

@ -206,7 +206,6 @@ static int jz_nand_correct_ecc_rs(struct mtd_info* mtd, uint8_t *dat,
reg &= ~JZ_NAND_ECC_CTRL_ENABLE; reg &= ~JZ_NAND_ECC_CTRL_ENABLE;
writel(reg, nand->base + JZ_REG_NAND_ECC_CTRL); writel(reg, nand->base + JZ_REG_NAND_ECC_CTRL);
if (status & JZ_NAND_STATUS_ERROR) { if (status & JZ_NAND_STATUS_ERROR) {
if (status & JZ_NAND_STATUS_UNCOR_ERROR) { if (status & JZ_NAND_STATUS_UNCOR_ERROR) {
printk("uncorrectable ecc:"); printk("uncorrectable ecc:");