Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1469c34 authored by Andi Kleen's avatar Andi Kleen
Browse files

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 cc7e5166.

Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
parent b1d77fae
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;

+0 −3
Original line number Diff line number Diff line
@@ -917,9 +917,6 @@ static int __init dock_init(void)

	dock_station = NULL;

	if (acpi_disabled)
		return 0;

	if (acpi_disabled)
		return 0;