mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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:
committed by
Juan Quintela
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user