diff options
Diffstat (limited to 'source/os_specific/service_layers/oswinxf.c')
| -rw-r--r-- | source/os_specific/service_layers/oswinxf.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/source/os_specific/service_layers/oswinxf.c b/source/os_specific/service_layers/oswinxf.c index a1a073ad0b4c..ebb007edea0d 100644 --- a/source/os_specific/service_layers/oswinxf.c +++ b/source/os_specific/service_layers/oswinxf.c @@ -238,10 +238,6 @@ AcpiOsTableOverride ( ACPI_TABLE_HEADER *ExistingTable, ACPI_TABLE_HEADER **NewTable) { -#ifdef ACPI_ASL_COMPILER - ACPI_STATUS Status; - ACPI_PHYSICAL_ADDRESS Address; -#endif if (!ExistingTable || !NewTable) { @@ -258,29 +254,6 @@ AcpiOsTableOverride ( AeTableOverride (ExistingTable, NewTable); #endif - -#ifdef ACPI_ASL_COMPILER - - /* Attempt to get the table from the registry */ - - /* Construct a null-terminated string from table signature */ - - ACPI_MOVE_NAME (TableName, ExistingTable->Signature); - TableName[ACPI_NAME_SIZE] = 0; - - Status = AcpiOsGetTableByName (TableName, 0, NewTable, &Address); - if (ACPI_SUCCESS (Status)) - { - AcpiOsPrintf ("Table [%s] obtained from registry, %u bytes\n", - TableName, (*NewTable)->Length); - } - else - { - AcpiOsPrintf ("Could not read table %s from registry (%s)\n", - TableName, AcpiFormatException (Status)); - } -#endif - return (AE_OK); } |
