aboutsummaryrefslogtreecommitdiff
path: root/migration/migration.h
diff options
context:
space:
mode:
authorWei Yang <richardw.yang@linux.intel.com>2019-04-02 08:31:06 +0800
committerDr. David Alan Gilbert <dgilbert@redhat.com>2019-08-14 17:33:14 +0100
commit14adf288d3a1617bf9ccf2da346b2b002a07d8f2 (patch)
treebae7a0b51cc7ad5d16cbc776d7f434bbb4c09f24 /migration/migration.h
parent32e70aad7e984f7a609850985895e97fc03579ab (diff)
downloadqemu-14adf288d3a1617bf9ccf2da346b2b002a07d8f2.zip
qemu-14adf288d3a1617bf9ccf2da346b2b002a07d8f2.tar.gz
qemu-14adf288d3a1617bf9ccf2da346b2b002a07d8f2.tar.bz2
migration: remove unused field bytes_xfer
MigrationState->bytes_xfer is only set to 0 in migrate_init(). Remove this unnecessary field. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190402003106.17614-1-richardw.yang@linux.intel.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/migration.h')
-rw-r--r--migration/migration.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/migration.h b/migration/migration.h
index 1fdd7b2..5bc6070 100644
--- a/migration/migration.h
+++ b/migration/migration.h
@@ -132,7 +132,6 @@ struct MigrationState
DeviceState parent_obj;
/*< public >*/
- size_t bytes_xfer;
QemuThread thread;
QEMUBH *cleanup_bh;
QEMUFile *to_dst_file;