Message ID | 1429545445-28216-7-git-send-email-dgilbert@redhat.com |
---|---|
State | New |
Headers | show |
On 04/20/2015 10:57 AM, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" <dgilbert@redhat.com> > > Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> > --- > migration/rdma.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/migration/rdma.c b/migration/rdma.c > index e43fae4..4f7dd0d 100644 > --- a/migration/rdma.c > +++ b/migration/rdma.c > @@ -2469,7 +2469,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; > Reviewed-by: Michael R. Hines <mrhines@us.ibm.com>
diff --git a/migration/rdma.c b/migration/rdma.c index e43fae4..4f7dd0d 100644 --- a/migration/rdma.c +++ b/migration/rdma.c @@ -2469,7 +2469,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;