qla2xxx: Remove last vestiges of qla_tgt_cmd.cmd_list
The only place this struct member is touched is in one INIT_LIST_HEAD. Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
parent
cdf55949c1
commit
2d15025a56
@ -2595,8 +2595,6 @@ static int qlt_handle_cmd_for_atio(struct scsi_qla_host *vha,
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
INIT_LIST_HEAD(&cmd->cmd_list);
|
|
||||||
|
|
||||||
memcpy(&cmd->atio, atio, sizeof(*atio));
|
memcpy(&cmd->atio, atio, sizeof(*atio));
|
||||||
cmd->state = QLA_TGT_STATE_NEW;
|
cmd->state = QLA_TGT_STATE_NEW;
|
||||||
cmd->tgt = vha->vha_tgt.qla_tgt;
|
cmd->tgt = vha->vha_tgt.qla_tgt;
|
||||||
|
@ -855,7 +855,6 @@ struct qla_tgt_cmd {
|
|||||||
uint16_t loop_id; /* to save extra sess dereferences */
|
uint16_t loop_id; /* to save extra sess dereferences */
|
||||||
struct qla_tgt *tgt; /* to save extra sess dereferences */
|
struct qla_tgt *tgt; /* to save extra sess dereferences */
|
||||||
struct scsi_qla_host *vha;
|
struct scsi_qla_host *vha;
|
||||||
struct list_head cmd_list;
|
|
||||||
|
|
||||||
struct atio_from_isp atio;
|
struct atio_from_isp atio;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user