aboutsummaryrefslogtreecommitdiff
path: root/migration
diff options
context:
space:
mode:
authorLiang Li <liang.z.li@intel.com>2016-05-05 15:32:53 +0800
committerAmit Shah <amit.shah@redhat.com>2016-06-17 18:24:14 +0530
commite7bb92e21a47c97dc477dc0dd49acf8ee0e633ad (patch)
tree11880c735d149d4663a86444d6e4799b54196191 /migration
parent5533b2e9bcd222e37ca6c2ff06e79adf9bf036bf (diff)
migration: remove useless code
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>
Diffstat (limited to 'migration')
-rw-r--r--migration/ram.c1
1 files changed, 0 insertions, 1 deletions
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