mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
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>
This commit is contained in:
committed by
Alexander Graf
parent
c2d9097ac9
commit
e37aa7ada3
@@ -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 */
|
||||
|
Reference in New Issue
Block a user