aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/NCR5380.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-05-28 07:52:51 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-17 13:04:45 -0400
commit3471c288036bf0835a82d0b1bbce2002f6e68390 (patch)
tree9a646a16877b7c600c583a32f703dd02a621c603 /drivers/scsi/NCR5380.c
parente3df715501be3329986e5d9dfa9a477f49e7996b (diff)
[SCSI] Remove no-op implementations of SCSI EH hooks
Drivers need not implement a hook that returns FAILED, and does nothing else, since the SCSI midlayer code will do that for us. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/NCR5380.c')
-rw-r--r--drivers/scsi/NCR5380.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c
index 770fa841e389..7ae19d4181be 100644
--- a/drivers/scsi/NCR5380.c
+++ b/drivers/scsi/NCR5380.c
@@ -2833,31 +2833,3 @@ static int NCR5380_bus_reset(Scsi_Cmnd * cmd) {
2833 do_reset(cmd->device->host); 2833 do_reset(cmd->device->host);
2834 return SUCCESS; 2834 return SUCCESS;
2835} 2835}
2836
2837/*
2838 * Function : int NCR5380_device_reset (Scsi_Cmnd *cmd)
2839 *
2840 * Purpose : reset a SCSI device
2841 *
2842 * Returns : FAILED
2843 *
2844 * Locks: io_request_lock held by caller
2845 */
2846
2847static int NCR5380_device_reset(Scsi_Cmnd * cmd) {
2848 return FAILED;
2849}
2850
2851/*
2852 * Function : int NCR5380_host_reset (Scsi_Cmnd *cmd)
2853 *
2854 * Purpose : reset a SCSI device
2855 *
2856 * Returns : FAILED
2857 *
2858 * Locks: io_request_lock held by caller
2859 */
2860
2861static int NCR5380_host_reset(Scsi_Cmnd * cmd) {
2862 return FAILED;
2863}