#if 0 acpi/bay.c:eject_removable_drive()
authorAdrian Bunk <bunk@kernel.org>
Sun, 30 Mar 2008 23:05:40 +0000 (02:05 +0300)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 14:09:52 +0000 (10:09 -0400)
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>
drivers/acpi/bay.c

index 1fa8681..d2fc941 100644 (file)
@@ -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)
 {