From: Andi Kleen Date: Thu, 17 Jul 2008 23:43:08 +0000 (+0200) Subject: Revert "dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled." X-Git-Tag: v2.6.27-rc1~510^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e1469c34eb623cd1945ef09bfd7de7bc2f9ff6b3;p=linux-2.6-omap-h63xx.git Revert "dock: bay: Don't call acpi_walk_namespace() when ACPI is disabled." Revert double commit by mistake. Noticed by Thomas Gleixner. This reverts commit cc7e51666d82aedfd6b9a033ca1a10d71c21f1ca. Signed-off-by: Andi Kleen --- diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c index e6caf5d42e0..61b6c5beb2d 100644 --- a/drivers/acpi/bay.c +++ b/drivers/acpi/bay.c @@ -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; diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 1e872e79db3..bb7c51f712b 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c @@ -917,9 +917,6 @@ static int __init dock_init(void) dock_station = NULL; - if (acpi_disabled) - return 0; - if (acpi_disabled) return 0;