Received: from eggs.gnu.org ([208.118.235.92]:55789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvph5-0000NZ-Ks for qemu-devel@nongnu.org; Thu, 17 Jan 2013 08:39:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tvph4-00049U-BC for qemu-devel@nongnu.org; Thu, 17 Jan 2013 08:39:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvph4-00049K-3w for qemu-devel@nongnu.org; Thu, 17 Jan 2013 08:39:46 -0500 From: Juan Quintela Date: Thu, 17 Jan 2013 14:39:25 +0100 Message-Id: <1358429973-9321-6-git-send-email-quintela@redhat.com> In-Reply-To: <1358429973-9321-1-git-send-email-quintela@redhat.com> References: <1358429973-9321-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PATCH 05/13] migration: remove double call to migrate_fd_close List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , aliguori@us.ibm.com From: Paolo Bonzini The call in buffered_close is enough, because buffered_close is called already by migrate_fd_cleanup. Signed-off-by: Paolo Bonzini Signed-off-by: Juan Quintela Reviewed-by: Reviewed-by: Eric Blake --- migration.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration.c b/migration.c index 1f4c6ee..5513dde 100644 --- a/migration.c +++ b/migration.c @@ -605,7 +605,6 @@ static int buffered_close(void *opaque) if (ret >= 0) { ret = ret2; } - ret = migrate_fd_close(s); s->complete = true; return ret; } -- 1.8.1