From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z366j-0001pm-Cr for qemu-devel@nongnu.org; Thu, 11 Jun 2015 13:17:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z366i-0007YW-IL for qemu-devel@nongnu.org; Thu, 11 Jun 2015 13:17:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z366i-0007YP-D1 for qemu-devel@nongnu.org; Thu, 11 Jun 2015 13:17:36 -0400 From: "Dr. David Alan Gilbert (git)" Date: Thu, 11 Jun 2015 18:17:19 +0100 Message-Id: <1434043048-4444-4-git-send-email-dgilbert@redhat.com> In-Reply-To: <1434043048-4444-1-git-send-email-dgilbert@redhat.com> References: <1434043048-4444-1-git-send-email-dgilbert@redhat.com> Subject: [Qemu-devel] [PATCH v2 03/12] 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, arei.gonglei@huawei.com, mrhines@us.ibm.com, quintela@redhat.com From: "Dr. David Alan Gilbert" Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Michael R. Hines --- migration/rdma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/rdma.c b/migration/rdma.c index 38e5f44..bc73ff8 100644 --- a/migration/rdma.c +++ b/migration/rdma.c @@ -2445,7 +2445,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.2