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/seagate.c | |
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/seagate.c')
-rw-r--r-- | drivers/scsi/seagate.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/seagate.c b/drivers/scsi/seagate.c index 4c95abb54057..ae9fdb52847b 100644 --- a/drivers/scsi/seagate.c +++ b/drivers/scsi/seagate.c | |||
@@ -1640,16 +1640,6 @@ static int seagate_st0x_bus_reset(Scsi_Cmnd * SCpnt) | |||
1640 | return SUCCESS; | 1640 | return SUCCESS; |
1641 | } | 1641 | } |
1642 | 1642 | ||
1643 | static int seagate_st0x_host_reset(Scsi_Cmnd *SCpnt) | ||
1644 | { | ||
1645 | return FAILED; | ||
1646 | } | ||
1647 | |||
1648 | static int seagate_st0x_device_reset(Scsi_Cmnd *SCpnt) | ||
1649 | { | ||
1650 | return FAILED; | ||
1651 | } | ||
1652 | |||
1653 | static int seagate_st0x_release(struct Scsi_Host *shost) | 1643 | static int seagate_st0x_release(struct Scsi_Host *shost) |
1654 | { | 1644 | { |
1655 | if (shost->irq) | 1645 | if (shost->irq) |
@@ -1665,8 +1655,6 @@ static Scsi_Host_Template driver_template = { | |||
1665 | .queuecommand = seagate_st0x_queue_command, | 1655 | .queuecommand = seagate_st0x_queue_command, |
1666 | .eh_abort_handler = seagate_st0x_abort, | 1656 | .eh_abort_handler = seagate_st0x_abort, |
1667 | .eh_bus_reset_handler = seagate_st0x_bus_reset, | 1657 | .eh_bus_reset_handler = seagate_st0x_bus_reset, |
1668 | .eh_host_reset_handler = seagate_st0x_host_reset, | ||
1669 | .eh_device_reset_handler = seagate_st0x_device_reset, | ||
1670 | .can_queue = 1, | 1658 | .can_queue = 1, |
1671 | .this_id = 7, | 1659 | .this_id = 7, |
1672 | .sg_tablesize = SG_ALL, | 1660 | .sg_tablesize = SG_ALL, |