migration: remove useless code
authorLiang Li <liang.z.li@intel.com>
Thu, 5 May 2016 07:32:53 +0000 (15:32 +0800)
committerAmit Shah <amit.shah@redhat.com>
Fri, 17 Jun 2016 12:54:14 +0000 (18:24 +0530)
page_buffer is set twice repeatedly, remove the previous set.

Signed-off-by: Liang Li <liang.z.li@intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <1462433579-13691-4-git-send-email-liang.z.li@intel.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
migration/ram.c

index 5ccc06840c23a42668ee905581b4cb8dac7874a4..6416e60412ef05cfa99da4b09e8c65b20cf2f265 100644 (file)
@@ -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