Revert "ACPI: don't walk tables if ACPI was disabled"
authorAndi Kleen <ak@linux.intel.com>
Fri, 18 Jul 2008 07:12:49 +0000 (09:12 +0200)
committerAndi Kleen <ak@linux.intel.com>
Fri, 18 Jul 2008 07:12:49 +0000 (09:12 +0200)
This reverts commit d1857056904d5f313f11184fcfa624652ff9620a.

Double commit, noticed by Thomas Gleixner.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/acpi/glue.c

index 0f2dd81..2f173e8 100644 (file)
@@ -338,9 +338,6 @@ static int __init acpi_rtc_init(void)
        if (acpi_disabled)
                return 0;
 
-       if (acpi_disabled)
-               return 0;
-
        if (dev) {
                rtc_wake_setup();
                rtc_info.wake_on = rtc_wake_on;