]> git.sur5r.net Git - u-boot/commitdiff
efi_selftest: do not call efi_init_obj_list() twice
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 17 May 2018 16:24:48 +0000 (18:24 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 3 Jun 2018 13:27:20 +0000 (15:27 +0200)
Remove a superfluous call to efi_init_obj_list() invoked by
'bootefi selftest'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c

index 11b84c55289716517669ae8182430355057e5800..80491c77fd17ee5a2d686067cf175792bd06d9e4 100644 (file)
@@ -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 */