summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-01-23 21:45:05 +0000
committerjhb <jhb@FreeBSD.org>2001-01-23 21:45:05 +0000
commitfd3d6d8dd8a28b1ae414970b648dcd6c56213b72 (patch)
treeb9f8c645d081914403ad70b8d7a4113395922e41 /sys/dev/acpica
parent8c3bdd92ce1df3544539ef2c67debcb9552f6cf0 (diff)
downloadFreeBSD-src-fd3d6d8dd8a28b1ae414970b648dcd6c56213b72.zip
FreeBSD-src-fd3d6d8dd8a28b1ae414970b648dcd6c56213b72.tar.gz
Move a temporary #ifdef of code (just the #ifdef part) up so that it is
above the local variable declaration to quiet warnings about unused variables.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_apic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/acpica/acpi_apic.c b/sys/dev/acpica/acpi_apic.c
index 20d2e32..b193d8b 100644
--- a/sys/dev/acpica/acpi_apic.c
+++ b/sys/dev/acpica/acpi_apic.c
@@ -73,6 +73,10 @@ DRIVER_MODULE(acpi_apic, acpi, acpi_apic_driver, acpi_apic_devclass, 0, 0);
static void
acpi_apic_identify(driver_t *driver, device_t bus)
{
+#if 1
+
+ return;
+#else /* broken by new ACPICA update that doesn't support the APIC table */
ACPI_BUFFER buf;
ACPI_STATUS status;
APIC_HEADER *hdr;
@@ -81,10 +85,6 @@ acpi_apic_identify(driver_t *driver, device_t bus)
int len;
void *private;
-#if 1
- return;
-#else /* broken by new ACPICA update that doesn't support the APIC table */
-
/*
* Perform the tedious double-get to fetch the actual table.
*/
OpenPOWER on IntegriCloud