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/arm | |
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/arm')
-rw-r--r-- | drivers/scsi/arm/cumana_1.c | 2 | ||||
-rw-r--r-- | drivers/scsi/arm/ecoscsi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/arm/oak.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/arm/cumana_1.c b/drivers/scsi/arm/cumana_1.c index 27271bfc01d7..26498553a7cc 100644 --- a/drivers/scsi/arm/cumana_1.c +++ b/drivers/scsi/arm/cumana_1.c | |||
@@ -244,9 +244,7 @@ static Scsi_Host_Template cumanascsi_template = { | |||
244 | .info = cumanascsi_info, | 244 | .info = cumanascsi_info, |
245 | .queuecommand = cumanascsi_queue_command, | 245 | .queuecommand = cumanascsi_queue_command, |
246 | .eh_abort_handler = NCR5380_abort, | 246 | .eh_abort_handler = NCR5380_abort, |
247 | .eh_device_reset_handler= NCR5380_device_reset, | ||
248 | .eh_bus_reset_handler = NCR5380_bus_reset, | 247 | .eh_bus_reset_handler = NCR5380_bus_reset, |
249 | .eh_host_reset_handler = NCR5380_host_reset, | ||
250 | .can_queue = 16, | 248 | .can_queue = 16, |
251 | .this_id = 7, | 249 | .this_id = 7, |
252 | .sg_tablesize = SG_ALL, | 250 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/arm/ecoscsi.c b/drivers/scsi/arm/ecoscsi.c index 303648a84709..f8a7fdd3c465 100644 --- a/drivers/scsi/arm/ecoscsi.c +++ b/drivers/scsi/arm/ecoscsi.c | |||
@@ -162,9 +162,7 @@ static Scsi_Host_Template ecoscsi_template = { | |||
162 | .info = ecoscsi_info, | 162 | .info = ecoscsi_info, |
163 | .queuecommand = ecoscsi_queue_command, | 163 | .queuecommand = ecoscsi_queue_command, |
164 | .eh_abort_handler = NCR5380_abort, | 164 | .eh_abort_handler = NCR5380_abort, |
165 | .eh_device_reset_handler= NCR5380_device_reset, | ||
166 | .eh_bus_reset_handler = NCR5380_bus_reset, | 165 | .eh_bus_reset_handler = NCR5380_bus_reset, |
167 | .eh_host_reset_handler = NCR5380_host_reset, | ||
168 | .can_queue = 16, | 166 | .can_queue = 16, |
169 | .this_id = 7, | 167 | .this_id = 7, |
170 | .sg_tablesize = SG_ALL, | 168 | .sg_tablesize = SG_ALL, |
diff --git a/drivers/scsi/arm/oak.c b/drivers/scsi/arm/oak.c index ff2554f4cb80..de24bb991f1d 100644 --- a/drivers/scsi/arm/oak.c +++ b/drivers/scsi/arm/oak.c | |||
@@ -118,9 +118,7 @@ static Scsi_Host_Template oakscsi_template = { | |||
118 | .info = oakscsi_info, | 118 | .info = oakscsi_info, |
119 | .queuecommand = oakscsi_queue_command, | 119 | .queuecommand = oakscsi_queue_command, |
120 | .eh_abort_handler = NCR5380_abort, | 120 | .eh_abort_handler = NCR5380_abort, |
121 | .eh_device_reset_handler= NCR5380_device_reset, | ||
122 | .eh_bus_reset_handler = NCR5380_bus_reset, | 121 | .eh_bus_reset_handler = NCR5380_bus_reset, |
123 | .eh_host_reset_handler = NCR5380_host_reset, | ||
124 | .can_queue = 16, | 122 | .can_queue = 16, |
125 | .this_id = 7, | 123 | .this_id = 7, |
126 | .sg_tablesize = SG_ALL, | 124 | .sg_tablesize = SG_ALL, |