X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnand%2Fmx3.c;h=da141b7423db199bcec0fcb588b684172e419fb8;hb=e66bb9d3121eef35c312997aacb401847249a5cb;hp=5fdc923056c96ec875208297d4c9ba7f5f0e9553;hpb=9364b0dba451c3cee653f985b96b9f0535997346;p=openocd.git diff --git a/src/flash/nand/mx3.c b/src/flash/nand/mx3.c index 5fdc923056..da141b7423 100644 --- a/src/flash/nand/mx3.c +++ b/src/flash/nand/mx3.c @@ -685,7 +685,6 @@ static int do_data_output(struct nand_device *nand) case 2 << 2: LOG_DEBUG("main area readed with more than 1 (incorrectable) error"); return ERROR_NAND_OPERATION_FAILED; - break; } switch (ecc_status & 0x0003) { case 1: @@ -694,7 +693,6 @@ static int do_data_output(struct nand_device *nand) case 2: LOG_DEBUG("main area readed with more than 1 (incorrectable) error"); return ERROR_NAND_OPERATION_FAILED; - break; } } break;