diff options
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r-- | drivers/scsi/scsi.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index a5de1a829a7..07a7c2a70a3 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c | |||
@@ -442,7 +442,7 @@ void scsi_log_completion(struct scsi_cmnd *cmd, int disposition) | |||
442 | #endif | 442 | #endif |
443 | 443 | ||
444 | /* | 444 | /* |
445 | * Assign a serial number and pid to the request for error recovery | 445 | * Assign a serial number to the request for error recovery |
446 | * and debugging purposes. Protected by the Host_Lock of host. | 446 | * and debugging purposes. Protected by the Host_Lock of host. |
447 | */ | 447 | */ |
448 | static inline void scsi_cmd_get_serial(struct Scsi_Host *host, struct scsi_cmnd *cmd) | 448 | static inline void scsi_cmd_get_serial(struct Scsi_Host *host, struct scsi_cmnd *cmd) |
@@ -450,10 +450,6 @@ static inline void scsi_cmd_get_serial(struct Scsi_Host *host, struct scsi_cmnd | |||
450 | cmd->serial_number = host->cmd_serial_number++; | 450 | cmd->serial_number = host->cmd_serial_number++; |
451 | if (cmd->serial_number == 0) | 451 | if (cmd->serial_number == 0) |
452 | cmd->serial_number = host->cmd_serial_number++; | 452 | cmd->serial_number = host->cmd_serial_number++; |
453 | |||
454 | cmd->pid = host->cmd_pid++; | ||
455 | if (cmd->pid == 0) | ||
456 | cmd->pid = host->cmd_pid++; | ||
457 | } | 453 | } |
458 | 454 | ||
459 | /* | 455 | /* |