diff mbox series

[U-Boot,1/1] efi_selftest: do not call efi_init_obj_list() twice

Message ID 20180517162448.7447-1-xypron.glpk@gmx.de
State Accepted
Commit e37aa7ada39f5291ce92f7d8bc2b66917fb5f8fa
Delegated to: Alexander Graf
Headers show
Series [U-Boot,1/1] efi_selftest: do not call efi_init_obj_list() twice | expand

Commit Message

Heinrich Schuchardt May 17, 2018, 4:24 p.m. UTC
Remove a superfluous call to efi_init_obj_list() invoked by
'bootefi selftest'.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 cmd/bootefi.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index fe50bac1c50..806339823ff 100644
--- a/cmd/bootefi.c
+++ b/cmd/bootefi.c
@@ -441,8 +441,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 */