[PATCH v2] efi_loader: capsule: remove unused guid

AKASHI Takahiro takahiro.akashi at linaro.org
Tue Jul 20 07:53:11 CEST 2021


efi_guid_capsule_root_cert_guid is never used.
Just remove it.

Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
---
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;
-- 
2.31.0



More information about the U-Boot mailing list