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 621dee8b8cb2..b4f320854d66 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -301,7 +301,6 @@ static int scsi_init_cmd_errh(struct scsi_cmnd *cmd) | |||
301 | { | 301 | { |
302 | cmd->owner = SCSI_OWNER_MIDLEVEL; | 302 | cmd->owner = SCSI_OWNER_MIDLEVEL; |
303 | cmd->serial_number = 0; | 303 | cmd->serial_number = 0; |
304 | cmd->abort_reason = 0; | ||
305 | 304 | ||
306 | memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer); | 305 | memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer); |
307 | 306 | ||
@@ -322,7 +321,6 @@ static int scsi_init_cmd_errh(struct scsi_cmnd *cmd) | |||
322 | memcpy(cmd->data_cmnd, cmd->cmnd, sizeof(cmd->cmnd)); | 321 | memcpy(cmd->data_cmnd, cmd->cmnd, sizeof(cmd->cmnd)); |
323 | cmd->buffer = cmd->request_buffer; | 322 | cmd->buffer = cmd->request_buffer; |
324 | cmd->bufflen = cmd->request_bufflen; | 323 | cmd->bufflen = cmd->request_bufflen; |
325 | cmd->abort_reason = 0; | ||
326 | 324 | ||
327 | return 1; | 325 | return 1; |
328 | } | 326 | } |