[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 06/13] migration: remove useless code

From: Amit Shah
Subject: [Qemu-devel] [PULL 06/13] migration: remove useless code
Date: Fri, 17 Jun 2016 18:36:45 +0530

From: Liang Li <address@hidden>

page_buffer is set twice repeatedly, remove the previous set.

Signed-off-by: Liang Li <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Amit Shah <address@hidden>
 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;
-            page_buffer = host;
              * Postcopy requires that we place whole host pages atomically.
              * To make it atomic, the data is read into a temporary page

reply via email to

[Prev in Thread] Current Thread [Next in Thread]