aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic>2005-04-18 14:45:00 -0400
committerJames Bottomley <jejb@titanic>2005-04-18 14:45:00 -0400
commitc46f2ffb9e7fce7208c2639790e1ade42e00b146 (patch)
tree284912295d46a861930d0619788a650f56c2a29b /drivers/scsi/scsi_lib.c
parentc2a9331c62216e222a08de8dd58559367fef0af6 (diff)
parentf59114b7b5dc677bbd7cc7e26a5fcb3572a3445c (diff)
merge by hand (scsi_device.h)
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c2
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;