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/pas16.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/pas16.h')
-rw-r--r-- | drivers/scsi/pas16.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/pas16.h b/drivers/scsi/pas16.h index 58d4d67aed24..65ce1cc40d9a 100644 --- a/drivers/scsi/pas16.h +++ b/drivers/scsi/pas16.h | |||
@@ -120,8 +120,6 @@ static int pas16_biosparam(struct scsi_device *, struct block_device *, | |||
120 | static int pas16_detect(Scsi_Host_Template *); | 120 | static int pas16_detect(Scsi_Host_Template *); |
121 | static int pas16_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); | 121 | static int pas16_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); |
122 | static int pas16_bus_reset(Scsi_Cmnd *); | 122 | static int pas16_bus_reset(Scsi_Cmnd *); |
123 | static int pas16_host_reset(Scsi_Cmnd *); | ||
124 | static int pas16_device_reset(Scsi_Cmnd *); | ||
125 | 123 | ||
126 | #ifndef CMD_PER_LUN | 124 | #ifndef CMD_PER_LUN |
127 | #define CMD_PER_LUN 2 | 125 | #define CMD_PER_LUN 2 |
@@ -164,9 +162,7 @@ static int pas16_device_reset(Scsi_Cmnd *); | |||
164 | #define do_NCR5380_intr do_pas16_intr | 162 | #define do_NCR5380_intr do_pas16_intr |
165 | #define NCR5380_queue_command pas16_queue_command | 163 | #define NCR5380_queue_command pas16_queue_command |
166 | #define NCR5380_abort pas16_abort | 164 | #define NCR5380_abort pas16_abort |
167 | #define NCR5380_device_reset pas16_device_reset | ||
168 | #define NCR5380_bus_reset pas16_bus_reset | 165 | #define NCR5380_bus_reset pas16_bus_reset |
169 | #define NCR5380_host_reset pas16_host_reset | ||
170 | #define NCR5380_proc_info pas16_proc_info | 166 | #define NCR5380_proc_info pas16_proc_info |
171 | 167 | ||
172 | /* 15 14 12 10 7 5 3 | 168 | /* 15 14 12 10 7 5 3 |