projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a97270a
)
Remove unneeded memset
author
Dr. David Alan Gilbert
<dgilbert@redhat.com>
Mon, 20 Apr 2015 15:57:21 +0000
(16:57 +0100)
committer
Juan Quintela
<quintela@redhat.com>
Fri, 12 Jun 2015 04:54:02 +0000
(06:54 +0200)
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>
migration/rdma.c
patch
|
blob
|
history
diff --git
a/migration/rdma.c
b/migration/rdma.c
index 6c1e73fd89836e4b582c1f44ed80dafd22a4e2df..48b3e64b34f674e98c014be8443b0963ce552bf3 100644
(file)
--- 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;