mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user