From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDtUT-0007Rl-EY for qemu-devel@nongnu.org; Fri, 17 Jun 2016 09:07:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bDtUS-000863-FX for qemu-devel@nongnu.org; Fri, 17 Jun 2016 09:07:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bDtUS-00085j-9U for qemu-devel@nongnu.org; Fri, 17 Jun 2016 09:07:16 -0400 From: Amit Shah Date: Fri, 17 Jun 2016 18:36:45 +0530 Message-Id: In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PULL 06/13] migration: remove useless code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Juan Quintela , "Dr. David Alan Gilbert" , liang.z.li@intel.com, den@openvz.org, qemu list , Amit Shah From: 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 Message-Id: <1462433579-13691-4-git-send-email-liang.z.li@intel.com> Signed-off-by: Amit Shah --- migration/ram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/ram.c b/migration/ram.c index 5ccc068..6416e60 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -2359,7 +2359,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 -- 2.7.4