diff options
-rw-r--r-- | source/tools/acpiexec/aetables.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/source/tools/acpiexec/aetables.c b/source/tools/acpiexec/aetables.c index 4137f7b7a..a3dcdf850 100644 --- a/source/tools/acpiexec/aetables.c +++ b/source/tools/acpiexec/aetables.c @@ -675,18 +675,10 @@ AeLoadTables ( * for an existing name. */ Status = AcpiInstallMethod (MethodCode); - if (ACPI_FAILURE (Status)) - { - AcpiOsPrintf ("%s, Could not install method\n", - AcpiFormatException (Status)); - } + ACPI_CHECK_OK (AcpiInstallMethod, Status); Status = AcpiInstallMethod (MethodCode); - if (ACPI_FAILURE (Status)) - { - AcpiOsPrintf ("%s, Could not install method\n", - AcpiFormatException (Status)); - } + ACPI_CHECK_OK (AcpiInstallMethod, Status); return (AE_OK); } |