Message ID | 20210720055311.103134-1-takahiro.akashi@linaro.org |
---|---|
State | New |
Headers | show |
Series | [v2] efi_loader: capsule: remove unused guid | expand |
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@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@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; >
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;
efi_guid_capsule_root_cert_guid is never used. Just remove it. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> --- v2: correct the commit message --- lib/efi_loader/efi_capsule.c | 3 --- 1 file changed, 3 deletions(-) -- 2.31.0