summaryrefslogtreecommitdiff
path: root/cgpt/cgpt_repair.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgpt/cgpt_repair.c')
-rw-r--r--cgpt/cgpt_repair.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cgpt/cgpt_repair.c b/cgpt/cgpt_repair.c
index 98899026..1880ea5b 100644
--- a/cgpt/cgpt_repair.c
+++ b/cgpt/cgpt_repair.c
@@ -19,12 +19,6 @@ int CgptRepair(CgptRepairParams *params) {
params->drive_size))
return CGPT_FAILED;
- if (drive.is_mtd) {
- // Nothing to do
- DriveClose(&drive, 0);
- return 0;
- }
-
int gpt_retval = GptSanityCheck(&drive.gpt);
if (params->verbose)
printf("GptSanityCheck() returned %d: %s\n",