aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/bay.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-07-18 01:11:38 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-20 17:14:57 -0700
commit392798a17b6afba5928bc577aeb7bc83a1585534 (patch)
treecd9e5ccd68e3f5c1e5286ba6e44fcc457a6a3d1f /drivers/acpi/bay.c
parent4e4f64da58bc71a139722bb5013adda0f7ca4e78 (diff)
downloadkernel_samsung_aries-392798a17b6afba5928bc577aeb7bc83a1585534.zip
kernel_samsung_aries-392798a17b6afba5928bc577aeb7bc83a1585534.tar.gz
kernel_samsung_aries-392798a17b6afba5928bc577aeb7bc83a1585534.tar.bz2
APCI: revert duplicated patch
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>
Diffstat (limited to 'drivers/acpi/bay.c')
-rw-r--r--drivers/acpi/bay.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c
index e6caf5d..61b6c5b 100644
--- a/drivers/acpi/bay.c
+++ b/drivers/acpi/bay.c
@@ -380,9 +380,6 @@ static int __init bay_init(void)
if (acpi_disabled)
return -ENODEV;
- if (acpi_disabled)
- return -ENODEV;
-
/* look for dockable drive bays */
acpi_walk_namespace(ACPI_TYPE_DEVICE, ACPI_ROOT_OBJECT,
ACPI_UINT32_MAX, find_bay, &bays, NULL);