diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2022-11-14 22:43:47 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-11-16 01:44:15 +0000 |
commit | 93629f2c7cf05ebc0f458eacc42a33147096f9d1 (patch) | |
tree | 0dd083b825eac012cd7184cc7f4d0652e7d58ec6 /ArmPkg/Library/ArmTrngLib/ArmTrngLib.c | |
parent | 0cb30c3f5e9b2be5157224afdf75fa16bc09b9c7 (diff) | |
download | edk2-93629f2c7cf05ebc0f458eacc42a33147096f9d1.zip edk2-93629f2c7cf05ebc0f458eacc42a33147096f9d1.tar.gz edk2-93629f2c7cf05ebc0f458eacc42a33147096f9d1.tar.bz2 |
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 <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'ArmPkg/Library/ArmTrngLib/ArmTrngLib.c')
-rw-r--r-- | ArmPkg/Library/ArmTrngLib/ArmTrngLib.c | 1 |
1 files changed, 0 insertions, 1 deletions
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;
}
|