]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: remove unused efi_capsule_authenticate
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 11 Apr 2023 18:18:07 +0000 (20:18 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 21 Apr 2023 06:50:35 +0000 (08:50 +0200)
Remove an unused implementation of efi_capsule_authenticate().

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_capsule.c

index d5d3ede7ae66ab1f02fb996e1afba46f5edc6001..7a6f195cbc02264f2d2ad8858420403cc9a08dc2 100644 (file)
@@ -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)