Skip to content

Commit

Permalink
Revert "dock: bay: Don't call acpi_walk_namespace() when ACPI is disa…
Browse files Browse the repository at this point in the history
…bled."

Revert double commit by mistake. Noticed by Thomas Gleixner.

This reverts commit cc7e516.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
  • Loading branch information
Andi Kleen committed Jul 17, 2008
1 parent b1d77fa commit e1469c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions drivers/acpi/bay.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
3 changes: 0 additions & 3 deletions drivers/acpi/dock.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,9 +917,6 @@ static int __init dock_init(void)

dock_station = NULL;

if (acpi_disabled)
return 0;

if (acpi_disabled)
return 0;

Expand Down

0 comments on commit e1469c3

Please sign in to comment.