Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b7bbf29 authored by Steve Kondik's avatar Steve Kondik
Browse files

recovery: Remove condition around get_root_mtd_partition

Change-Id: I2e763000f65aba342f1851c7e94778a815bbaa6f
parent d352233a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -314,7 +314,6 @@ get_root_partition_device(const char *root_path, char *device)
    return info->device;
}

#ifndef BOARD_HAS_NO_MISC_PARTITION
const MtdPartition *
get_root_mtd_partition(const char *root_path)
{
@@ -332,7 +331,6 @@ get_root_mtd_partition(const char *root_path)
    mtd_scan_partitions();
    return mtd_find_partition_by_name(info->partition_name);
}
#endif

int
format_root_device(const char *root)