From e7bb92e21a47c97dc477dc0dd49acf8ee0e633ad Mon Sep 17 00:00:00 2001 From: Liang Li Date: Thu, 5 May 2016 15:32:53 +0800 Subject: migration: remove useless code 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(-) (limited to 'migration') diff --git a/migration/ram.c b/migration/ram.c index 5ccc06840c..6416e60412 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 -- cgit v1.2.3-55-g7522