summaryrefslogtreecommitdiff
path: root/drivers/mtd/tests/speedtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/tests/speedtest.c')
-rw-r--r--drivers/mtd/tests/speedtest.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/mtd/tests/speedtest.c b/drivers/mtd/tests/speedtest.c
index 0b89418a0888..f8e5dc11f943 100644
--- a/drivers/mtd/tests/speedtest.c
+++ b/drivers/mtd/tests/speedtest.c
@@ -70,12 +70,6 @@ static int multiblock_erase(int ebnum, int blocks)
return err;
}
- if (ei.state == MTD_ERASE_FAILED) {
- pr_err("some erase error occurred at EB %d,"
- "blocks %d\n", ebnum, blocks);
- return -EIO;
- }
-
return 0;
}