aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r--drivers/scsi/scsi.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index 2e7ab3ab0993..05d2bd075fd4 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -489,7 +489,7 @@ void scsi_log_completion(struct scsi_cmnd *cmd, int disposition)
489 scsi_print_command(cmd); 489 scsi_print_command(cmd);
490 if (status_byte(cmd->result) & CHECK_CONDITION) { 490 if (status_byte(cmd->result) & CHECK_CONDITION) {
491 /* 491 /*
492 * XXX The print_sense formatting/prefix 492 * XXX The scsi_print_sense formatting/prefix
493 * doesn't match this function. 493 * doesn't match this function.
494 */ 494 */
495 scsi_print_sense("", cmd); 495 scsi_print_sense("", cmd);
@@ -686,7 +686,6 @@ void scsi_init_cmd_from_req(struct scsi_cmnd *cmd, struct scsi_request *sreq)
686 cmd->request = sreq->sr_request; 686 cmd->request = sreq->sr_request;
687 memcpy(cmd->data_cmnd, sreq->sr_cmnd, sizeof(cmd->data_cmnd)); 687 memcpy(cmd->data_cmnd, sreq->sr_cmnd, sizeof(cmd->data_cmnd));
688 cmd->serial_number = 0; 688 cmd->serial_number = 0;
689 cmd->serial_number_at_timeout = 0;
690 cmd->bufflen = sreq->sr_bufflen; 689 cmd->bufflen = sreq->sr_bufflen;
691 cmd->buffer = sreq->sr_buffer; 690 cmd->buffer = sreq->sr_buffer;
692 cmd->retries = 0; 691 cmd->retries = 0;
@@ -716,7 +715,6 @@ void scsi_init_cmd_from_req(struct scsi_cmnd *cmd, struct scsi_request *sreq)
716 /* 715 /*
717 * Start the timer ticking. 716 * Start the timer ticking.
718 */ 717 */
719 cmd->internal_timeout = NORMAL_TIMEOUT;
720 cmd->abort_reason = 0; 718 cmd->abort_reason = 0;
721 cmd->result = 0; 719 cmd->result = 0;
722 720
@@ -766,7 +764,6 @@ void __scsi_done(struct scsi_cmnd *cmd)
766 * Set the serial numbers back to zero 764 * Set the serial numbers back to zero
767 */ 765 */
768 cmd->serial_number = 0; 766 cmd->serial_number = 0;
769 cmd->serial_number_at_timeout = 0;
770 cmd->state = SCSI_STATE_BHQUEUE; 767 cmd->state = SCSI_STATE_BHQUEUE;
771 cmd->owner = SCSI_OWNER_BH_HANDLER; 768 cmd->owner = SCSI_OWNER_BH_HANDLER;
772 769