Skip to content

Commit

Permalink
#if 0 acpi/bay.c:eject_removable_drive()
Browse files Browse the repository at this point in the history
This patch #if 0's the unused eject_removable_drive().

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Adrian Bunk authored and Len Brown committed Apr 29, 2008
1 parent a01e035 commit 2a241d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/acpi/bay.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ static int is_ejectable_bay(acpi_handle handle)
return 0;
}

#if 0
/**
* eject_removable_drive - try to eject this drive
* @dev : the device structure of the drive
Expand All @@ -225,6 +226,7 @@ int eject_removable_drive(struct device *dev)
return 0;
}
EXPORT_SYMBOL_GPL(eject_removable_drive);
#endif /* 0 */

static int acpi_bay_add_fs(struct bay *bay)
{
Expand Down

0 comments on commit 2a241d7

Please sign in to comment.