From: Liang Li <liang.z...@intel.com>

page_buffer is set twice repeatedly, remove the previous set.

Signed-off-by: Liang Li <liang.z...@intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com>
Message-Id: <1462433579-13691-4-git-send-email-liang.z...@intel.com>
Signed-off-by: Amit Shah <amit.s...@redhat.com>
---
 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


Reply via email to