diff --git a/arch/x86_64/src/common/x86_64_acpi.c b/arch/x86_64/src/common/x86_64_acpi.c index ec367e9fcb2..aff0d797b15 100644 --- a/arch/x86_64/src/common/x86_64_acpi.c +++ b/arch/x86_64/src/common/x86_64_acpi.c @@ -469,21 +469,11 @@ int acpi_init(uintptr_t rsdp) /* Get MADT table */ - ret = acpi_table_find(ACPI_SIG_APIC, - (struct acpi_sdt_s **)&acpi->madt); - if (ret < 0) - { - acpi_err("MADT not present"); - } + acpi_table_find(ACPI_SIG_APIC, (struct acpi_sdt_s **)&acpi->madt); /* Get MCFG */ - ret = acpi_table_find(ACPI_SIG_MCFG, - (struct acpi_sdt_s **)&acpi->mcfg); - if (ret < 0) - { - acpi_err("MCFG not present"); - } + acpi_table_find(ACPI_SIG_MCFG, (struct acpi_sdt_s **)&acpi->mcfg); return OK; }