aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/in2000.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/in2000.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/in2000.c')
-rw-r--r--drivers/scsi/in2000.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/scsi/in2000.c b/drivers/scsi/in2000.c
index 0bb0369efb2d..e1fe6f13b829 100644
--- a/drivers/scsi/in2000.c
+++ b/drivers/scsi/in2000.c
@@ -1671,17 +1671,6 @@ static int in2000_bus_reset(Scsi_Cmnd * cmd)
1671 return SUCCESS; 1671 return SUCCESS;
1672} 1672}
1673 1673
1674static int in2000_host_reset(Scsi_Cmnd * cmd)
1675{
1676 return FAILED;
1677}
1678
1679static int in2000_device_reset(Scsi_Cmnd * cmd)
1680{
1681 return FAILED;
1682}
1683
1684
1685static int in2000_abort(Scsi_Cmnd * cmd) 1674static int in2000_abort(Scsi_Cmnd * cmd)
1686{ 1675{
1687 struct Scsi_Host *instance; 1676 struct Scsi_Host *instance;
@@ -2311,8 +2300,6 @@ static Scsi_Host_Template driver_template = {
2311 .queuecommand = in2000_queuecommand, 2300 .queuecommand = in2000_queuecommand,
2312 .eh_abort_handler = in2000_abort, 2301 .eh_abort_handler = in2000_abort,
2313 .eh_bus_reset_handler = in2000_bus_reset, 2302 .eh_bus_reset_handler = in2000_bus_reset,
2314 .eh_device_reset_handler = in2000_device_reset,
2315 .eh_host_reset_handler = in2000_host_reset,
2316 .bios_param = in2000_biosparam, 2303 .bios_param = in2000_biosparam,
2317 .can_queue = IN2000_CAN_Q, 2304 .can_queue = IN2000_CAN_Q,
2318 .this_id = IN2000_HOST_ID, 2305 .this_id = IN2000_HOST_ID,