recovery: Remove condition around get_root_mtd_partition

Change-Id: I2e763000f65aba342f1851c7e94778a815bbaa6f
This commit is contained in:
Steve Kondik 2010-12-14 03:43:35 -05:00
parent d352233ab6
commit 0b7bbf29d5

View File

@ -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)