From: Heinrich Schuchardt Date: Thu, 17 May 2018 16:24:48 +0000 (+0200) Subject: efi_selftest: do not call efi_init_obj_list() twice X-Git-Tag: v2018.07-rc1~10^2~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e37aa7ada39f5291ce92f7d8bc2b66917fb5f8fa;p=u-boot efi_selftest: do not call efi_init_obj_list() twice Remove a superfluous call to efi_init_obj_list() invoked by 'bootefi selftest'. Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/cmd/bootefi.c b/cmd/bootefi.c index 11b84c5528..80491c77fd 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -428,8 +428,6 @@ static int do_bootefi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) * callback entry */ efi_save_gd(); - /* Initialize and populate EFI object list */ - efi_init_obj_list(); /* Transfer environment variable efi_selftest as load options */ set_load_options(&loaded_image_info, "efi_selftest"); /* Execute the test */