summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-31 02:05:40 +0300
committerLen Brown <len.brown@intel.com>2008-04-29 10:09:52 -0400
commit2a241d77cfdab08544a78057a4b24c9a98dc79d0 (patch)
tree5b0fa49085e1ba8e2eca69056b1125961d034422 /drivers/acpi
parenta01e035ebb552223c03f2d9138ffc73f2d4d3965 (diff)
downloadlinux-stable-2a241d77cfdab08544a78057a4b24c9a98dc79d0.tar.gz
linux-stable-2a241d77cfdab08544a78057a4b24c9a98dc79d0.tar.bz2
linux-stable-2a241d77cfdab08544a78057a4b24c9a98dc79d0.zip
#if 0 acpi/bay.c:eject_removable_drive()
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/bay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c
index 1fa86811b8ee..d2fc94161848 100644
--- a/drivers/acpi/bay.c
+++ b/drivers/acpi/bay.c
@@ -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
@@ -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)
{