]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: remove efi_delete_handle on loadfile2
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Sun, 16 Oct 2022 08:36:32 +0000 (11:36 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 16 Oct 2022 10:23:22 +0000 (12:23 +0200)
commit168985729a55f8d1b06cfd5e5c3b08fe887638c8
tree905752b31d7b4161ed2f166b3d1ab0d98c07333c
parent0ca142e1adcea58d59f175c02473167096172a92
efi_loader: remove efi_delete_handle on loadfile2

Loadfile2 code is installing two protocols on it's own handle
and uses efi_delete_handle() to clean it up on failure(s). However
commit a6a2b32dc147 ("efi_loader: define internal implementations of
install/uninstallmultiple") prepares the ground for us to clean up
efi_delete_handle() used in favor of Install/UninstallMultipleProtocol.

While at it clean up the non needed void casts to (void *) on the
protolcol installation.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
cmd/bootefi.c
include/efi_loader.h
lib/efi_loader/efi_load_initrd.c