Received: from eggs.gnu.org ([2001:4830:134:3::10]:42228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1as5Ty-00054Y-NO for qemu-devel@nongnu.org; Mon, 18 Apr 2016 05:28:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1as5Tt-0000C3-Dz for qemu-devel@nongnu.org; Mon, 18 Apr 2016 05:28:38 -0400 Received: from mga03.intel.com ([134.134.136.65]:15011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1as5Tt-0000Bx-7n for qemu-devel@nongnu.org; Mon, 18 Apr 2016 05:28:33 -0400 From: Liang Li Date: Mon, 18 Apr 2016 17:19:32 +0800 Message-Id: <1460971172-2240-1-git-send-email-liang.z.li@intel.com> Subject: [Qemu-devel] [PATCH] 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, Liang Li page_buffer is set twice repeatedly, remove the previous set. Signed-off-by: Liang Li --- migration/ram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/ram.c b/migration/ram.c index 3f05738..31d40f4 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -2322,7 +2322,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