diff options
author | <htejun@gmail.com> | 2005-04-03 14:59:11 -0500 |
---|---|---|
committer | James Bottomley <jejb@titanic> | 2005-04-18 12:33:15 -0500 |
commit | c6295cdf656de63d6d1123def71daba6cd91939c (patch) | |
tree | c4e5d02355df7443afa45ecc491807a67962f0d8 /drivers/scsi/BusLogic.c | |
parent | d3a933dc9851e74581f9f4c8e703e77901ae8d01 (diff) | |
download | blackbird-op-linux-c6295cdf656de63d6d1123def71daba6cd91939c.tar.gz blackbird-op-linux-c6295cdf656de63d6d1123def71daba6cd91939c.zip |
[PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field
scsi_cmnd->serial_number_at_timeout doesn't serve any purpose
anymore. All serial_number == serial_number_at_timeout tests
are always true in abort callbacks. Kill the field. Also, as
->pid always equals ->serial_number and ->serial_number
doesn't have any special meaning anymore, update comments
above ->serial_number accordingly. Once we remove all uses of
this field from all lldd's, this field should go.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/BusLogic.c')
-rw-r--r-- | drivers/scsi/BusLogic.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/scsi/BusLogic.c b/drivers/scsi/BusLogic.c index 41b5197ce4e6..15e4b122d56e 100644 --- a/drivers/scsi/BusLogic.c +++ b/drivers/scsi/BusLogic.c @@ -2958,13 +2958,6 @@ static int BusLogic_AbortCommand(struct scsi_cmnd *Command) struct BusLogic_CCB *CCB; BusLogic_IncrementErrorCounter(&HostAdapter->TargetStatistics[TargetID].CommandAbortsRequested); /* - If this Command has already completed, then no Abort is necessary. - */ - if (Command->serial_number != Command->serial_number_at_timeout) { - BusLogic_Warning("Unable to Abort Command to Target %d - " "Already Completed\n", HostAdapter, TargetID); - return SUCCESS; - } - /* Attempt to find an Active CCB for this Command. If no Active CCB for this Command is found, then no Abort is necessary. */ |