efi_loader: make efi_remove_protocol() static
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Mon, 19 Jun 2023 11:14:03 +0000 (14:14 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 20 Jul 2023 07:12:50 +0000 (09:12 +0200)
commit21eb7c16ec86e239482386238ea606170ef4e90d
treed12ba715c2d57d38d6f324711a9faf23fee80308
parent4a3baf9da6f721ada4d603a1d1d20c491a54d609
efi_loader: make efi_remove_protocol() static

A previous patch is removing the last consumer of efi_remove_protocol().
Switch that to static and treat it as an internal API in order to force
users install and remove protocols with the appropriate EFI functions.

It's worth noting that we still have files using efi_add_protocol().  We
should convert all these to efi_install_multiple_protocol_interfaces()
and treat efi_add_protocol() in a similar manner

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_loader.h
lib/efi_loader/efi_boottime.c