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>
INIT_LIST_HEAD(&drive_bays);
- if (acpi_disabled)
- return -ENODEV;
-
if (acpi_disabled)
return -ENODEV;
dock_station = NULL;
- if (acpi_disabled)
- return 0;
-
if (acpi_disabled)
return 0;