diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-28 07:52:51 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-17 13:04:45 -0400 |
commit | 3471c288036bf0835a82d0b1bbce2002f6e68390 (patch) | |
tree | 9a646a16877b7c600c583a32f703dd02a621c603 /drivers/scsi/dtc.h | |
parent | e3df715501be3329986e5d9dfa9a477f49e7996b (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/dtc.h')
-rw-r--r-- | drivers/scsi/dtc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/dtc.h b/drivers/scsi/dtc.h index c4bcdbf338a2..ed73629eb2f9 100644 --- a/drivers/scsi/dtc.h +++ b/drivers/scsi/dtc.h | |||
@@ -34,8 +34,6 @@ static int dtc_biosparam(struct scsi_device *, struct block_device *, | |||
34 | static int dtc_detect(Scsi_Host_Template *); | 34 | static int dtc_detect(Scsi_Host_Template *); |
35 | static int dtc_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | 35 | static int dtc_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); |
36 | static int dtc_bus_reset(Scsi_Cmnd *); | 36 | static int dtc_bus_reset(Scsi_Cmnd *); |
37 | static int dtc_device_reset(Scsi_Cmnd *); | ||
38 | static int dtc_host_reset(Scsi_Cmnd *); | ||
39 | 37 | ||
40 | #ifndef CMD_PER_LUN | 38 | #ifndef CMD_PER_LUN |
41 | #define CMD_PER_LUN 2 | 39 | #define CMD_PER_LUN 2 |
@@ -86,8 +84,6 @@ static int dtc_host_reset(Scsi_Cmnd *); | |||
86 | #define NCR5380_queue_command dtc_queue_command | 84 | #define NCR5380_queue_command dtc_queue_command |
87 | #define NCR5380_abort dtc_abort | 85 | #define NCR5380_abort dtc_abort |
88 | #define NCR5380_bus_reset dtc_bus_reset | 86 | #define NCR5380_bus_reset dtc_bus_reset |
89 | #define NCR5380_device_reset dtc_device_reset | ||
90 | #define NCR5380_host_reset dtc_host_reset | ||
91 | #define NCR5380_proc_info dtc_proc_info | 87 | #define NCR5380_proc_info dtc_proc_info |
92 | 88 | ||
93 | /* 15 12 11 10 | 89 | /* 15 12 11 10 |