[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>
This commit is contained in:
@ -833,13 +833,6 @@ ips_eh_abort(Scsi_Cmnd * SC)
|
||||
if (!ha->active)
|
||||
return (FAILED);
|
||||
|
||||
if (SC->serial_number != SC->serial_number_at_timeout) {
|
||||
/* HMM, looks like a bogus command */
|
||||
DEBUG(1, "Abort called with bogus scsi command");
|
||||
|
||||
return (FAILED);
|
||||
}
|
||||
|
||||
/* See if the command is on the copp queue */
|
||||
item = ha->copp_waitlist.head;
|
||||
while ((item) && (item->scsi_cmd != SC))
|
||||
|
Reference in New Issue
Block a user