[SCSI] Remove ->pid field from scsi_cmnd
The pid field is a duplicate of the serial_number field and has been scheduled for removal for a long time. A few drivers were still using it, so just change them to use serial_number instead. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:

committed by
James Bottomley

parent
13ba9bcbfd
commit
12a441622b
@@ -1681,12 +1681,6 @@ scsi_reset_provider(struct scsi_device *dev, int flag)
|
||||
|
||||
init_timer(&scmd->eh_timeout);
|
||||
|
||||
/*
|
||||
* Sometimes the command can get back into the timer chain,
|
||||
* so use the pid as an identifier.
|
||||
*/
|
||||
scmd->pid = 0;
|
||||
|
||||
spin_lock_irqsave(shost->host_lock, flags);
|
||||
shost->tmf_in_progress = 1;
|
||||
spin_unlock_irqrestore(shost->host_lock, flags);
|
||||
|
Reference in New Issue
Block a user