diff options
author | Christoph Hellwig <hch@lst.de> | 2005-06-19 07:40:52 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-06-26 13:15:28 -0400 |
commit | b4edcbcafdecc80ef5356ff6452768b1b926ea76 (patch) | |
tree | e30da76124facf97f4183b0fe41b29d90b00f237 /drivers/scsi/scsi_lib.c | |
parent | f5ad56145d43cdb68760bba3e14655ff6ae726aa (diff) |
[SCSI] remove scsi_cmnd->owner
never checked anywhere
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
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 b4f320854d66..912cea081119 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -149,7 +149,6 @@ int scsi_queue_insert(struct scsi_cmnd *cmd, int reason) | |||
149 | * Register the fact that we own the thing for now. | 149 | * Register the fact that we own the thing for now. |
150 | */ | 150 | */ |
151 | cmd->state = SCSI_STATE_MLQUEUE; | 151 | cmd->state = SCSI_STATE_MLQUEUE; |
152 | cmd->owner = SCSI_OWNER_MIDLEVEL; | ||
153 | 152 | ||
154 | /* | 153 | /* |
155 | * Decrement the counters, since these commands are no longer | 154 | * Decrement the counters, since these commands are no longer |
@@ -299,7 +298,6 @@ EXPORT_SYMBOL(scsi_wait_req); | |||
299 | */ | 298 | */ |
300 | static int scsi_init_cmd_errh(struct scsi_cmnd *cmd) | 299 | static int scsi_init_cmd_errh(struct scsi_cmnd *cmd) |
301 | { | 300 | { |
302 | cmd->owner = SCSI_OWNER_MIDLEVEL; | ||
303 | cmd->serial_number = 0; | 301 | cmd->serial_number = 0; |
304 | 302 | ||
305 | memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer); | 303 | memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer); |