[PATCH v2] efi_loader: capsule: remove unused guid

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Jul 24 10:12:03 CEST 2021


On 7/20/21 7:53 AM, AKASHI Takahiro wrote:
> efi_guid_capsule_root_cert_guid is never used.
> Just remove it.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>

Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

> ---
> v2:
>     correct the commit message
> ---
>   lib/efi_loader/efi_capsule.c | 3 ---
>   1 file changed, 3 deletions(-)
>
> diff --git a/lib/efi_loader/efi_capsule.c b/lib/efi_loader/efi_capsule.c
> index f9b0ef591cc8..3c029378de0a 100644
> --- a/lib/efi_loader/efi_capsule.c
> +++ b/lib/efi_loader/efi_capsule.c
> @@ -220,9 +220,6 @@ skip:
>
>   #if defined(CONFIG_EFI_CAPSULE_AUTHENTICATE)
>
> -const efi_guid_t efi_guid_capsule_root_cert_guid =
> -	EFI_FIRMWARE_MANAGEMENT_CAPSULE_ID_GUID;
> -
>   static int efi_get_public_key_data(void **pkey, efi_uintn_t *pkey_len)
>   {
>   	const void *blob = __efi_capsule_sig_begin;
>



More information about the U-Boot mailing list