summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c')
-rw-r--r--MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c
index 1569de0e42..c6abf1bf0c 100644
--- a/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c
+++ b/MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableProtocol.c
@@ -159,24 +159,18 @@ PublishTables (
// Add the RSD_PTR to the system table and store that we have installed the
// tables.
//
- if (((Version & EFI_ACPI_TABLE_VERSION_1_0B) != 0) &&
- !AcpiTableInstance->TablesInstalled1) {
+ if ((Version & EFI_ACPI_TABLE_VERSION_1_0B) != 0) {
Status = gBS->InstallConfigurationTable (&gEfiAcpi10TableGuid, AcpiTableInstance->Rsdp1);
if (EFI_ERROR (Status)) {
return EFI_ABORTED;
}
-
- AcpiTableInstance->TablesInstalled1 = TRUE;
}
- if (((Version & ACPI_TABLE_VERSION_GTE_2_0) != 0) &&
- !AcpiTableInstance->TablesInstalled3) {
+ if ((Version & ACPI_TABLE_VERSION_GTE_2_0) != 0) {
Status = gBS->InstallConfigurationTable (&gEfiAcpiTableGuid, AcpiTableInstance->Rsdp3);
if (EFI_ERROR (Status)) {
return EFI_ABORTED;
}
-
- AcpiTableInstance->TablesInstalled3= TRUE;
}
return EFI_SUCCESS;