mirror of
https://github.com/qemu/qemu.git
synced 2025-08-09 19:15:32 +00:00
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>
This commit is contained in:
parent
32e70aad7e
commit
14adf288d3
@ -1699,7 +1699,6 @@ void migrate_init(MigrationState *s)
|
|||||||
* parameters/capabilities that the user set, and
|
* parameters/capabilities that the user set, and
|
||||||
* locks.
|
* locks.
|
||||||
*/
|
*/
|
||||||
s->bytes_xfer = 0;
|
|
||||||
s->cleanup_bh = 0;
|
s->cleanup_bh = 0;
|
||||||
s->to_dst_file = NULL;
|
s->to_dst_file = NULL;
|
||||||
s->state = MIGRATION_STATUS_NONE;
|
s->state = MIGRATION_STATUS_NONE;
|
||||||
|
@ -132,7 +132,6 @@ struct MigrationState
|
|||||||
DeviceState parent_obj;
|
DeviceState parent_obj;
|
||||||
|
|
||||||
/*< public >*/
|
/*< public >*/
|
||||||
size_t bytes_xfer;
|
|
||||||
QemuThread thread;
|
QemuThread thread;
|
||||||
QEMUBH *cleanup_bh;
|
QEMUBH *cleanup_bh;
|
||||||
QEMUFile *to_dst_file;
|
QEMUFile *to_dst_file;
|
||||||
|
Loading…
Reference in New Issue
Block a user