Received: from eggs.gnu.org ([2001:4830:134:3::10]:58232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayDqo-0000Z3-Un for qemu-devel@nongnu.org; Thu, 05 May 2016 03:37:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayDqd-0001Gh-DC for qemu-devel@nongnu.org; Thu, 05 May 2016 03:37:29 -0400 Received: from mga03.intel.com ([134.134.136.65]:53098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayDqd-00018K-61 for qemu-devel@nongnu.org; Thu, 05 May 2016 03:37:23 -0400 From: Liang Li Date: Thu, 5 May 2016 15:32:53 +0800 Message-Id: <1462433579-13691-4-git-send-email-liang.z.li@intel.com> In-Reply-To: <1462433579-13691-1-git-send-email-liang.z.li@intel.com> References: <1462433579-13691-1-git-send-email-liang.z.li@intel.com> Subject: [Qemu-devel] [PATCH v2 3/9] migration: remove useless code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: quintela@redhat.com, amit.shah@redhat.com, dgilbert@redhat.com, berrange@redhat.com, Liang Li page_buffer is set twice repeatedly, remove the previous set. Signed-off-by: Liang Li Reviewed-by: Dr. David Alan Gilbert Reviewed-by: Juan Quintela --- migration/ram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/ram.c b/migration/ram.c index 8a59a08..5d544c0 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -2356,7 +2356,6 @@ static int ram_load_postcopy(QEMUFile *f) ret = -EINVAL; break; } - page_buffer = host; /* * Postcopy requires that we place whole host pages atomically. * To make it atomic, the data is read into a temporary page -- 1.9.1