summaryrefslogtreecommitdiff
path: root/security/integrity
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-11-15 21:08:30 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2019-11-29 22:23:46 +1100
commit6f090192f8225f52ba95d08785989688cb768cca (patch)
tree1dd53ff22ae783cd17f7e81fc1ff2700b5b7f656 /security/integrity
parent6f07048c00fd100ed8cab66c225c157e0b6c0a50 (diff)
x86/efi: remove unused variables
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
Diffstat (limited to 'security/integrity')
-rw-r--r--security/integrity/platform_certs/load_uefi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/security/integrity/platform_certs/load_uefi.c b/security/integrity/platform_certs/load_uefi.c
index 4369204a19cd..111898aad56e 100644
--- a/security/integrity/platform_certs/load_uefi.c
+++ b/security/integrity/platform_certs/load_uefi.c
@@ -11,11 +11,6 @@
#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.