]> code.delx.au - refind/blobdiff - mok/security_policy.c
Properly initialise variable to fix detection of non-Arch kernel versions
[refind] / mok / security_policy.c
index 2d0d0d126851683473ba88612e62742e294e0a56..33d3be7cf647ea941dde2aa3f7c35c7be782b67c 100644 (file)
@@ -24,9 +24,6 @@ struct _EFI_SECURITY_PROTOCOL;
 struct _EFI_DEVICE_PATH_PROTOCOL;
 typedef struct _EFI_SECURITY2_PROTOCOL EFI_SECURITY2_PROTOCOL;
 typedef struct _EFI_SECURITY_PROTOCOL EFI_SECURITY_PROTOCOL;
-#ifdef __MAKEWITH_GNUEFI
-typedef struct _EFI_DEVICE_PATH_PROTOCOL EFI_DEVICE_PATH_PROTOCOL;
-#endif
 
 #if defined(EFIX64)
 #define MSABI __attribute__((ms_abi))