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