[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>
This commit is contained in:
Jeff Garzik
2005-05-28 07:52:51 -04:00
parent e3df715501
commit 3471c28803
40 changed files with 0 additions and 261 deletions

View File

@ -1640,16 +1640,6 @@ static int seagate_st0x_bus_reset(Scsi_Cmnd * SCpnt)
return SUCCESS;
}
static int seagate_st0x_host_reset(Scsi_Cmnd *SCpnt)
{
return FAILED;
}
static int seagate_st0x_device_reset(Scsi_Cmnd *SCpnt)
{
return FAILED;
}
static int seagate_st0x_release(struct Scsi_Host *shost)
{
if (shost->irq)
@ -1665,8 +1655,6 @@ static Scsi_Host_Template driver_template = {
.queuecommand = seagate_st0x_queue_command,
.eh_abort_handler = seagate_st0x_abort,
.eh_bus_reset_handler = seagate_st0x_bus_reset,
.eh_host_reset_handler = seagate_st0x_host_reset,
.eh_device_reset_handler = seagate_st0x_device_reset,
.can_queue = 1,
.this_id = 7,
.sg_tablesize = SG_ALL,