migration: remove useless code
PATCH 1/1 migration: remove useless code
page_buffer is set twice repeatedly, remove the previous set.
Signed-off-by Liang Li <[email protected]>
--- migration/ram.c | 1 - 1 file changed, 1 deletion(-)
migration/ram.c +0 -1
@@ -2322,7 +2322,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
Signature · 1 line
1.9.1
Quoted 12 lines · * Liang Li ([email protected]) wrote:
page_bufferis set twice repeatedly, remove the previous set.Signed-off-by Liang Li <[email protected]>--- migration/ram.c | 1 - 1 file changed, 1 deletion(-)migration/ram.c +0
-0
migration/ram.c static int ram_load_postcopy(QEMUFile *f) · line 2327
Quoted 7 lines
migration/ram.c +0
-1@@ -2322,7 +2322,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
Reviewed-by Dr. David Alan Gilbert <[email protected]>
Quoted 3 lines
Signature · 1 line
1.9.1
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK