aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-05-17 18:24:48 +0200
committerAlexander Graf <agraf@suse.de>2018-06-03 15:27:20 +0200
commite37aa7ada39f5291ce92f7d8bc2b66917fb5f8fa (patch)
treedec4797f76195373e3f01d52843a3965a89fd5f5
parentc2d9097ac9ca4f30e7f1a87af08d8fed644bb057 (diff)
downloadu-boot-e37aa7ada39f5291ce92f7d8bc2b66917fb5f8fa.zip
u-boot-e37aa7ada39f5291ce92f7d8bc2b66917fb5f8fa.tar.gz
u-boot-e37aa7ada39f5291ce92f7d8bc2b66917fb5f8fa.tar.bz2
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 <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--cmd/bootefi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index 11b84c5..80491c7 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 */