diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/scsi/qla2xxx/qla_target.c | 2 | ||||
| -rw-r--r-- | drivers/scsi/qla2xxx/qla_target.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 9e80d61e5a3a..2eb97d7e8d12 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c | |||
| @@ -2595,8 +2595,6 @@ static int qlt_handle_cmd_for_atio(struct scsi_qla_host *vha, | |||
| 2595 | return -ENOMEM; | 2595 | return -ENOMEM; |
| 2596 | } | 2596 | } |
| 2597 | 2597 | ||
| 2598 | INIT_LIST_HEAD(&cmd->cmd_list); | ||
| 2599 | |||
| 2600 | memcpy(&cmd->atio, atio, sizeof(*atio)); | 2598 | memcpy(&cmd->atio, atio, sizeof(*atio)); |
| 2601 | cmd->state = QLA_TGT_STATE_NEW; | 2599 | cmd->state = QLA_TGT_STATE_NEW; |
| 2602 | cmd->tgt = vha->vha_tgt.qla_tgt; | 2600 | cmd->tgt = vha->vha_tgt.qla_tgt; |
diff --git a/drivers/scsi/qla2xxx/qla_target.h b/drivers/scsi/qla2xxx/qla_target.h index 1d10eecad499..66e755cdde57 100644 --- a/drivers/scsi/qla2xxx/qla_target.h +++ b/drivers/scsi/qla2xxx/qla_target.h | |||
| @@ -855,7 +855,6 @@ struct qla_tgt_cmd { | |||
| 855 | uint16_t loop_id; /* to save extra sess dereferences */ | 855 | uint16_t loop_id; /* to save extra sess dereferences */ |
| 856 | struct qla_tgt *tgt; /* to save extra sess dereferences */ | 856 | struct qla_tgt *tgt; /* to save extra sess dereferences */ |
| 857 | struct scsi_qla_host *vha; | 857 | struct scsi_qla_host *vha; |
| 858 | struct list_head cmd_list; | ||
| 859 | 858 | ||
| 860 | struct atio_from_isp atio; | 859 | struct atio_from_isp atio; |
| 861 | }; | 860 | }; |
