aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-10-07 16:55:29 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-10-10 16:34:25 +0200
commit4d9668befc3d54c11d8b431a514e240320cd8e74 (patch)
tree1c793136f5236f5863bd38c4b7b103bbe25ed438
parent2eeb7feefce82493bff89ae194462295d9345c1b (diff)
downloadu-boot-4d9668befc3d54c11d8b431a514e240320cd8e74.zip
u-boot-4d9668befc3d54c11d8b431a514e240320cd8e74.tar.gz
u-boot-4d9668befc3d54c11d8b431a514e240320cd8e74.tar.bz2
efi_loader: don't export efi_remove_all_protocols
This function is only used inside efi_boottime.c and is not safe to use outside of this context. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rw-r--r--include/efi_loader.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 69d6d00..c70d977 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -651,8 +651,6 @@ efi_status_t efi_protocol_open(struct efi_handler *handler,
efi_status_t efi_remove_protocol(const efi_handle_t handle,
const efi_guid_t *protocol,
void *protocol_interface);
-/* Delete all protocols from a handle */
-efi_status_t efi_remove_all_protocols(const efi_handle_t handle);
/* Install multiple protocol interfaces */
efi_status_t EFIAPI
efi_install_multiple_protocol_interfaces(efi_handle_t *handle, ...);