qla2x00t-32gbit: Fix a bug in qlt_alloc_qfull_cmd()

Remove a memset() call that clears the data members initialized by
sqa_qla2xxx_get_cmd().

Fixes: b8a1634ced ("qla2x00t-32gbit: Import this driver into the SCST repository")


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8756 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-12-26 00:42:31 +00:00
parent 3f63399dff
commit 4978587a52

View File

@@ -5458,8 +5458,6 @@ qlt_alloc_qfull_cmd(struct scsi_qla_host *vha,
return;
}
memset(cmd, 0, sizeof(struct qla_tgt_cmd));
qlt_incr_num_pend_cmds(vha);
INIT_LIST_HEAD(&cmd->cmd_list);
memcpy(&cmd->atio, atio, sizeof(*atio));