qla2xxx: Remove useless memset()

The memory return by kzalloc() has already be set to zero, so remove
useless memset(0).


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8228 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-04-14 01:28:05 +00:00
parent 3548f0998a
commit 5892ed7ed1

View File

@@ -8863,7 +8863,6 @@ struct qla_qpair *qla2xxx_create_qpair(struct scsi_qla_host *vha, int qos,
"Failed to allocate memory for queue pair.\n");
return NULL;
}
memset(qpair, 0, sizeof(struct qla_qpair));
qpair->hw = vha->hw;
qpair->vha = vha;