]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
x86/efi: remove unused variables
authorYueHaibing <yuehaibing@huawei.com>
Fri, 15 Nov 2019 13:08:30 +0000 (21:08 +0800)
committerSasha Levin <sashal@kernel.org>
Wed, 7 Jul 2021 12:22:58 +0000 (08:22 -0400)
[ Upstream commit 6f090192f8225f52ba95d08785989688cb768cca ]

commit ad723674d675 ("x86/efi: move common keyring handler functions
to new file") leave this unused.

Fixes: ad723674d675 ("x86/efi: move common keyring handler functions to new file")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20191115130830.13320-1-yuehaibing@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
security/integrity/platform_certs/load_uefi.c

index aa874d84e413e03905e7465ebc538b2d2ffe4385..f0c908241966ae3f387a55d4ddc813150135b91b 100644 (file)
 #include "../integrity.h"
 #include "keyring_handler.h"
 
-static efi_guid_t efi_cert_x509_guid __initdata = EFI_CERT_X509_GUID;
-static efi_guid_t efi_cert_x509_sha256_guid __initdata =
-       EFI_CERT_X509_SHA256_GUID;
-static efi_guid_t efi_cert_sha256_guid __initdata = EFI_CERT_SHA256_GUID;
-
 /*
  * Look to see if a UEFI variable called MokIgnoreDB exists and return true if
  * it does.