qla2xxx: Remove last vestiges of qla_tgt_cmd.cmd_list
authorRoland Dreier <roland@purestorage.com>
Fri, 31 Jan 2014 21:11:36 +0000 (13:11 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 12 Feb 2014 23:11:03 +0000 (15:11 -0800)
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>
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/qla2xxx/qla_target.h

index 9e80d61e5a3aa0f62e0dbc6d9aeae8632d81935c..2eb97d7e8d122e21f7d3128270846754b4561313 100644 (file)
@@ -2595,8 +2595,6 @@ static int qlt_handle_cmd_for_atio(struct scsi_qla_host *vha,
                return -ENOMEM;
        }
 
-       INIT_LIST_HEAD(&cmd->cmd_list);
-
        memcpy(&cmd->atio, atio, sizeof(*atio));
        cmd->state = QLA_TGT_STATE_NEW;
        cmd->tgt = vha->vha_tgt.qla_tgt;
index 1d10eecad499a3598dc3bbd1dc566416d210c54a..66e755cdde573c47e902b1f45e0ac65b18d772bd 100644 (file)
@@ -855,7 +855,6 @@ struct qla_tgt_cmd {
        uint16_t loop_id;       /* to save extra sess dereferences */
        struct qla_tgt *tgt;    /* to save extra sess dereferences */
        struct scsi_qla_host *vha;
-       struct list_head cmd_list;
 
        struct atio_from_isp atio;
 };