On entry into ArmPlatformGetPlatformPpiList, *PpiList _can_ be NULL
since it's set within the function. So remove the bogus ASSERT.

Signed-off-by: Rebecca Cran <rebe...@bsdio.com>
---
 Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c 
b/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c
index f2ec923d6f8d..a5d15cda63f3 100644
--- a/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c
+++ b/Silicon/Ampere/AmpereAltraPkg/Library/ArmPlatformLib/ArmPlatformLib.c
@@ -155,7 +155,6 @@ ArmPlatformGetPlatformPpiList (
 {
   ASSERT (PpiListSize != NULL);
   ASSERT (PpiList != NULL);
-  ASSERT (*PpiList != NULL);
 
   if (ArmIsMpCore ()) {
     *PpiListSize = sizeof (gPlatformPpiTable);
-- 
2.45.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#119501): https://edk2.groups.io/g/devel/message/119501
Mute This Topic: https://groups.io/mt/106517030/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to