From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z07R0-0006qL-Ll for qemu-devel@nongnu.org; Wed, 03 Jun 2015 08:06:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z07Qy-0003lx-KR for qemu-devel@nongnu.org; Wed, 03 Jun 2015 08:06:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z07Qy-0003lm-F1 for qemu-devel@nongnu.org; Wed, 03 Jun 2015 08:06:12 -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 2E28B8E4F5 for ; Wed, 3 Jun 2015 12:06:12 +0000 (UTC) From: Juan Quintela Date: Wed, 3 Jun 2015 14:05:43 +0200 Message-Id: <1433333157-9939-8-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 07/21] migration: Remove duplicated assignment of SETUP status List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amit.shah@redhat.com We assign the MIGRATION_STATUS_SETUP status in two places. Just in succession. Just remove the second one. Signed-off-by: Juan Quintela Reviewed-by: Eric Blake --- migration/migration.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/migration/migration.c b/migration/migration.c index 732d229..5d77046 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -838,9 +838,6 @@ static void *migration_thread(void *opaque) void migrate_fd_connect(MigrationState *s) { - s->state = MIGRATION_STATUS_SETUP; - trace_migrate_set_state(MIGRATION_STATUS_SETUP); - /* This is a best 1st approximation. ns to ms */ s->expected_downtime = max_downtime/1000000; s->cleanup_bh = qemu_bh_new(migrate_fd_cleanup, s); -- 2.4.1