Received: from eggs.gnu.org ([2001:4830:134:3::10]:39482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3H8u-0005n1-3t for qemu-devel@nongnu.org; Fri, 12 Jun 2015 01:04:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3H8t-0001Yu-46 for qemu-devel@nongnu.org; Fri, 12 Jun 2015 01:04:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3H8s-0001Yi-W4 for qemu-devel@nongnu.org; Fri, 12 Jun 2015 01:04:35 -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 A791433B349 for ; Fri, 12 Jun 2015 05:04:34 +0000 (UTC) From: Juan Quintela Date: Fri, 12 Jun 2015 07:03:50 +0200 Message-Id: <1434085430-29219-22-git-send-email-quintela@redhat.com> In-Reply-To: <1434085430-29219-1-git-send-email-quintela@redhat.com> References: <1434085430-29219-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.3