[PATCH 1/1] efi_loader: remove unused efi_capsule_authenticate

Ilias Apalodimas ilias.apalodimas at linaro.org
Tue Apr 18 11:37:32 CEST 2023


On Wed, 12 Apr 2023 at 17:26, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> Remove an unused implementation of efi_capsule_authenticate().
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  lib/efi_loader/efi_capsule.c | 6 ------
>  1 file changed, 6 deletions(-)
>
> diff --git a/lib/efi_loader/efi_capsule.c b/lib/efi_loader/efi_capsule.c
> index d5d3ede7ae..7a6f195cbc 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)
> --
> 2.39.2
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>


More information about the U-Boot mailing list