Remove unneeded memset
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Michael R. Hines <mrhines@us.ibm.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
a97270ad5d
commit
4fa3dd17dc
@ -2452,7 +2452,6 @@ static void *qemu_rdma_data_init(const char *host_port, Error **errp)
|
||||
|
||||
if (host_port) {
|
||||
rdma = g_malloc0(sizeof(RDMAContext));
|
||||
memset(rdma, 0, sizeof(RDMAContext));
|
||||
rdma->current_index = -1;
|
||||
rdma->current_chunk = -1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user