From 93629f2c7cf05ebc0f458eacc42a33147096f9d1 Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Mon, 14 Nov 2022 22:43:47 +0800 Subject: ArmPkg/ArmTrngLib: Remove ASSERT in GetArmTrngVersion() BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4150 GetArmTrngVersion() is used to check the presence of an Arm Trng. If not found, an ASSERT prevents from booting in DEBUG builds. Remove this ASSERT. Reported-by: Sami Mujawar Signed-off-by: Pierre Gondois Acked-by: Ard Biesheuvel Reviewed-by: Sami Mujawar --- ArmPkg/Library/ArmTrngLib/ArmTrngLib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c b/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c index fdabc02..3278722 100644 --- a/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c +++ b/ArmPkg/Library/ArmTrngLib/ArmTrngLib.c @@ -344,7 +344,6 @@ ArmTrngLibConstructor ( Status = GetArmTrngVersion (&MajorRev, &MinorRev); if (RETURN_ERROR (Status)) { - ASSERT_RETURN_ERROR (Status); goto ErrorHandler; } -- cgit v1.1