recovery: Remove condition around get_root_mtd_partition
Change-Id: I2e763000f65aba342f1851c7e94778a815bbaa6f
This commit is contained in:
parent
d352233ab6
commit
0b7bbf29d5
2
roots.c
2
roots.c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user