aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader
diff options
context:
space:
mode:
authorHeinrich Schuchardt2023-04-11 20:18:07 +0200
committerHeinrich Schuchardt2023-04-21 08:50:35 +0200
commit4bccbd32fb21b838fb8a90f935ecf4bdf83e115e (patch)
tree2cfd95d332c9a7f1d594d39d3cc75ae08aedfc3a /lib/efi_loader
parent8626ef32e9443353d40ec44d4a0c69deac011efb (diff)
efi_loader: remove unused efi_capsule_authenticate
Remove an unused implementation of efi_capsule_authenticate(). Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader')
-rw-r--r--lib/efi_loader/efi_capsule.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/efi_loader/efi_capsule.c b/lib/efi_loader/efi_capsule.c
index d5d3ede7ae6..7a6f195cbc0 100644
--- a/lib/efi_loader/efi_capsule.c
+++ b/lib/efi_loader/efi_capsule.c
@@ -404,12 +404,6 @@ out:
return status;
}
-#else
-efi_status_t efi_capsule_authenticate(const void *capsule, efi_uintn_t capsule_size,
- void **image, efi_uintn_t *image_size)
-{
- return EFI_UNSUPPORTED;
-}
#endif /* CONFIG_EFI_CAPSULE_AUTHENTICATE */
static __maybe_unused bool fwu_empty_capsule(struct efi_capsule_header *capsule)