summaryrefslogtreecommitdiff
path: root/ubi-utils/src/ubiformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src/ubiformat.c')
-rw-r--r--ubi-utils/src/ubiformat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ubi-utils/src/ubiformat.c b/ubi-utils/src/ubiformat.c
index c15500b..d0def44 100644
--- a/ubi-utils/src/ubiformat.c
+++ b/ubi-utils/src/ubiformat.c
@@ -483,7 +483,6 @@ static int flash_image(const struct mtd_dev_info *mtd, struct ubi_scan_info *si)
if (mark_bad(mtd, si, eb))
goto out_close;
- divisor += 1;
continue;
}
@@ -536,7 +535,6 @@ static int flash_image(const struct mtd_dev_info *mtd, struct ubi_scan_info *si)
normsg("operation incomplete");
goto out_close;
}
- divisor += 1;
}
continue;
}