[2.6 patch] #if 0 acpi/bay.c:eject_removable_drive()
From: Adrian Bunk
Date: Mon Apr 14 2008 - 14:42:21 EST
This patch #if 0's the unused eject_removable_drive().
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>
---
This patch has been sent on:
- 31 Mar 2008
- 1 Mar 2008
drivers/acpi/bay.c | 2 ++
1 file changed, 2 insertions(+)
de6f6fda54c9a51719c8e5a5b8d303fb958cfe36 foobar
diff --git a/drivers/acpi/bay.c b/drivers/acpi/bay.c
index 1fa8681..d2fc941 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)
{
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/