summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-02-17 18:58:05 +0000
committerjljusten <jljusten@Edk2>2015-02-17 18:58:05 +0000
commit53596a72cd96f84c7ca83254246f3520a49861b1 (patch)
tree927c400f2d9fdda5e9296796d0b795e7989f21c2 /OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
parent460e1e0dab8947ae81089982ea1edaa655efb052 (diff)
downloadedk2-53596a72cd96f84c7ca83254246f3520a49861b1.tar.gz
edk2-53596a72cd96f84c7ca83254246f3520a49861b1.tar.bz2
edk2-53596a72cd96f84c7ca83254246f3520a49861b1.zip
OvmfPkg/AcpiPlatformDxe: Assert if AcpiTable protocol is not found
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
Diffstat (limited to 'OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c')
-rw-r--r--OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
index d75394c0f8..a4a71f9c3b 100644
--- a/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
+++ b/OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpi.c
@@ -714,9 +714,7 @@ QemuFwCfgAcpiPlatformEntryPoint (
NULL,
(VOID**)&AcpiTable
);
- if (EFI_ERROR (Status)) {
- return EFI_ABORTED;
- }
+ ASSERT_EFI_ERROR (Status);
Status = InstallAllQemuLinkedTables (AcpiTable);
return Status;