From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z07RN-0007Sa-Td for qemu-devel@nongnu.org; Wed, 03 Jun 2015 08:06:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z07RM-0004KA-Gw for qemu-devel@nongnu.org; Wed, 03 Jun 2015 08:06:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z07RM-0004K0-Ca for qemu-devel@nongnu.org; Wed, 03 Jun 2015 08:06:36 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 21187358A04 for ; Wed, 3 Jun 2015 12:06:36 +0000 (UTC) From: Juan Quintela Date: Wed, 3 Jun 2015 14:05:57 +0200 Message-Id: <1433333157-9939-22-git-send-email-quintela@redhat.com> In-Reply-To: <1433333157-9939-1-git-send-email-quintela@redhat.com> References: <1433333157-9939-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PULL 21/21] Remove unneeded memset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com, "Dr. David Alan Gilbert" From: "Dr. David Alan Gilbert" Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Michael R. Hines Signed-off-by: Juan Quintela --- migration/rdma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/rdma.c b/migration/rdma.c index 6c1e73f..48b3e64 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; -- 2.4.1