summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorChristoph Hellwig2005-06-19 13:40:52 +0200
committerJames Bottomley2005-06-26 19:15:28 +0200
commitb4edcbcafdecc80ef5356ff6452768b1b926ea76 (patch)
treee30da76124facf97f4183b0fe41b29d90b00f237 /drivers/scsi/scsi_lib.c
parent[SCSI] remove scsi_cmnd->abort_reason (diff)
downloadkernel-qcow2-linux-b4edcbcafdecc80ef5356ff6452768b1b926ea76.tar.gz
kernel-qcow2-linux-b4edcbcafdecc80ef5356ff6452768b1b926ea76.tar.xz
kernel-qcow2-linux-b4edcbcafdecc80ef5356ff6452768b1b926ea76.zip
[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.c2
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)
* Register the fact that we own the thing for now.
*/
cmd->state = SCSI_STATE_MLQUEUE;
- cmd->owner = SCSI_OWNER_MIDLEVEL;
/*
* Decrement the counters, since these commands are no longer
@@ -299,7 +298,6 @@ EXPORT_SYMBOL(scsi_wait_req);
*/
static int scsi_init_cmd_errh(struct scsi_cmnd *cmd)
{
- cmd->owner = SCSI_OWNER_MIDLEVEL;
cmd->serial_number = 0;
memset(cmd->sense_buffer, 0, sizeof cmd->sense_buffer);