From fd3d6d8dd8a28b1ae414970b648dcd6c56213b72 Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 23 Jan 2001 21:45:05 +0000 Subject: 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. --- sys/dev/acpica/acpi_apic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/acpica') 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. */ -- cgit v1.1