]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
APCI: revert duplicated patch
authorThomas Gleixner <tglx@linutronix.de>
Thu, 17 Jul 2008 23:11:38 +0000 (01:11 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 Jul 2008 00:14:57 +0000 (17:14 -0700)
commit 816c2eda3ce8fa7eb62f22e01e2ec7a3f7d677c0 ("dock: bay: Don't call
acpi_walk_namespace() when ACPI is disabled.") was merged between
2.6.26-rc8 and -rc9)

Due to rebasing the ACPI tree via quilt the same patch got applied again
via commit cc7e51666d82aedfd6b9a033ca1a10d71c21f1ca ("dock: bay: Don't
call acpi_walk_namespace() when ACPI is disabled.")

Revert it, as it is obviously bogus.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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;