mirror of https://github.com/acidanthera/audk.git
MdePkg/DxeRngLib: drop GLOBAL_REMOVE_IF_UNREFERENCED
With mSecureHashAlgorithms being static this should not be needed any more. Suggested-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
061bccff3a
commit
d31fd8bcb7
|
@ -32,7 +32,7 @@ typedef struct {
|
||||||
// These represent UEFI SPEC defined algorithms that should be supported by
|
// These represent UEFI SPEC defined algorithms that should be supported by
|
||||||
// the RNG protocol and are generally considered secure.
|
// 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
|
#ifdef MDE_CPU_AARCH64
|
||||||
{
|
{
|
||||||
&gEfiRngAlgorithmArmRndr, // unspecified SP800-90A DRBG (through RNDR instr.)
|
&gEfiRngAlgorithmArmRndr, // unspecified SP800-90A DRBG (through RNDR instr.)
|
||||||
|
|
Loading…
Reference in New Issue