]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Revert "dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled."
authorAndi Kleen <ak@linux.intel.com>
Thu, 17 Jul 2008 23:43:08 +0000 (01:43 +0200)
committerAndi Kleen <ak@linux.intel.com>
Thu, 17 Jul 2008 23:43:08 +0000 (01:43 +0200)
Revert double commit by mistake. Noticed by Thomas Gleixner.

This reverts commit cc7e51666d82aedfd6b9a033ca1a10d71c21f1ca.

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

index e6caf5d42e0eb72a7f49a9b44fa00c290937dbcf..61b6c5beb2d347d32d1fe1e3ee1ff8195e5f731d 100644 (file)
@@ -377,9 +377,6 @@ static int __init bay_init(void)
 
        INIT_LIST_HEAD(&drive_bays);
 
-       if (acpi_disabled)
-               return -ENODEV;
-
        if (acpi_disabled)
                return -ENODEV;
 
index 1e872e79db33bdeaf35cdf4fd049afc0e31acd14..bb7c51f712bd6cde630e4e8e5a771ca9d9e5fc55 100644 (file)
@@ -917,9 +917,6 @@ static int __init dock_init(void)
 
        dock_station = NULL;
 
-       if (acpi_disabled)
-               return 0;
-
        if (acpi_disabled)
                return 0;