error handling: the error number is not part of the user interface
[fw/openocd] / src / flash / nor / str7x.c
index 6136f310d38572b3181247980715f0b9bf70a4a0..b872bc3c0d388a2a56bcbb10e4060897fc8b41dd 100644 (file)
@@ -325,10 +325,6 @@ static int str7x_result(struct flash_bank *bank)
                        err = ERROR_FAIL;
                }
        }
-       if (err != ERROR_OK)
-       {
-               LOG_ERROR("FLASH_ER register contents: 0x%" PRIx32, retval);
-       }
 
        return retval;
 }