From d31fd8bcb7577d8faa35bbe3007f73dbe71722cb Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 18 Nov 2024 10:20:55 +0100 Subject: [PATCH] MdePkg/DxeRngLib: drop GLOBAL_REMOVE_IF_UNREFERENCED With mSecureHashAlgorithms being static this should not be needed any more. Suggested-by: Ard Biesheuvel Signed-off-by: Gerd Hoffmann --- MdePkg/Library/DxeRngLib/DxeRngLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/DxeRngLib/DxeRngLib.c b/MdePkg/Library/DxeRngLib/DxeRngLib.c index c0644d3c5e..4c1b5721ea 100644 --- a/MdePkg/Library/DxeRngLib/DxeRngLib.c +++ b/MdePkg/Library/DxeRngLib/DxeRngLib.c @@ -32,7 +32,7 @@ typedef struct { // These represent UEFI SPEC defined algorithms that should be supported by // the RNG protocol and are generally considered secure. // -static GLOBAL_REMOVE_IF_UNREFERENCED SECURE_RNG_ALGO_ARRAY mSecureHashAlgorithms[] = { +static SECURE_RNG_ALGO_ARRAY mSecureHashAlgorithms[] = { #ifdef MDE_CPU_AARCH64 { &gEfiRngAlgorithmArmRndr, // unspecified SP800-90A DRBG (through RNDR instr.)