summaryrefslogtreecommitdiffstats
path: root/migration
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2015-04-20 17:57:21 +0200
committerJuan Quintela2015-06-12 06:54:02 +0200
commit4fa3dd17dc29c316726f0d4a354a4d895e130c73 (patch)
treec4d824efda7fa533e3e6c32fa5e7a16cf72afc54 /migration
parentRename RDMA structures to make destination clear (diff)
downloadqemu-4fa3dd17dc29c316726f0d4a354a4d895e130c73.tar.gz
qemu-4fa3dd17dc29c316726f0d4a354a4d895e130c73.tar.xz
qemu-4fa3dd17dc29c316726f0d4a354a4d895e130c73.zip
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>
Diffstat (limited to 'migration')
-rw-r--r--migration/rdma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/rdma.c b/migration/rdma.c
index 6c1e73fd89..48b3e64b34 100644
--- a/migration/rdma.c
+++ b/migration/rdma.c
@@ -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;