Skip to content
Snippets Groups Projects
Commit e37aa7ad authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Alexander Graf
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent c2d9097a
No related branches found
No related tags found
No related merge requests found
...@@ -428,8 +428,6 @@ static int do_bootefi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) ...@@ -428,8 +428,6 @@ static int do_bootefi(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
* callback entry * callback entry
*/ */
efi_save_gd(); efi_save_gd();
/* Initialize and populate EFI object list */
efi_init_obj_list();
/* Transfer environment variable efi_selftest as load options */ /* Transfer environment variable efi_selftest as load options */
set_load_options(&loaded_image_info, "efi_selftest"); set_load_options(&loaded_image_info, "efi_selftest");
/* Execute the test */ /* Execute the test */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment