Browse Source

#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>
Adrian Bunk 17 years ago
parent
commit
2a241d77cf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/acpi/bay.c

+ 2 - 0
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)
 {