diff options
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index d230c699c728..d18da21c9c57 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -298,7 +298,6 @@ static int scsi_init_cmd_errh(struct scsi_cmnd *cmd) | |||
298 | { | 298 | { |
299 | cmd->owner = SCSI_OWNER_MIDLEVEL; | 299 | cmd->owner = SCSI_OWNER_MIDLEVEL; |
300 | cmd->serial_number = 0; | 300 | cmd->serial_number = 0; |
301 | cmd->serial_number_at_timeout = 0; | ||
302 | cmd->abort_reason = 0; | 301 | cmd->abort_reason = 0; |
303 | 302 | ||
304 | memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer); | 303 | memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer); |
@@ -320,7 +319,6 @@ static int scsi_init_cmd_errh(struct scsi_cmnd *cmd) | |||
320 | memcpy(cmd->data_cmnd, cmd->cmnd, sizeof(cmd->cmnd)); | 319 | memcpy(cmd->data_cmnd, cmd->cmnd, sizeof(cmd->cmnd)); |
321 | cmd->buffer = cmd->request_buffer; | 320 | cmd->buffer = cmd->request_buffer; |
322 | cmd->bufflen = cmd->request_bufflen; | 321 | cmd->bufflen = cmd->request_bufflen; |
323 | cmd->internal_timeout = NORMAL_TIMEOUT; | ||
324 | cmd->abort_reason = 0; | 322 | cmd->abort_reason = 0; |
325 | 323 | ||
326 | return 1; | 324 | return 1; |