sysupgrade: Remove duplicate declaration

Change-Id: I463a5d7252b54c850ac2e5c9d8b3c679455d66c5
Signed-off-by: Naresh Kumar Mehta <naresh@codeaurora.org>
This commit is contained in:
Naresh Kumar Mehta 2019-04-01 14:24:07 +05:30
parent 3fae57ba45
commit ca8b173e47

View file

@ -44,8 +44,6 @@
#define UBI_EC_HDR_MAGIC 0x55424923
#define UBI_VID_HDR_MAGIC 0x55424921
#define ARRAY_SIZE(array) sizeof(array)/sizeof(array[0])
struct image_section sections[] = {
{
.section_type = UBOOT_TYPE,
@ -132,7 +130,7 @@ struct image_section sections[] = {
},
};
#define NO_OF_SECTIONS ARRAY_SIZE(sections)
#define NO_OF_SECTIONS ARRAY_SIZE(sections)
int src_size;
int check_mbn_elf(struct image_section **sec)