Since the protocol is in the depex, there is no reason to expect we
might fail to locate the protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16882
6f19259b-4bc3-4df7-8a09-
765794883524
NULL,\r
(VOID**)&AcpiTable\r
);\r
- if (EFI_ERROR (Status)) {\r
- return EFI_ABORTED;\r
- }\r
+ ASSERT_EFI_ERROR (Status);\r
\r
if (XenDetected ()) {\r
Status = InstallXenTables (AcpiTable);\r
NULL,\r
(VOID**)&AcpiTable\r
);\r
- if (EFI_ERROR (Status)) {\r
- return EFI_ABORTED;\r
- }\r
+ ASSERT_EFI_ERROR (Status);\r
\r
Status = InstallAllQemuLinkedTables (AcpiTable);\r
return Status;\r