mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06: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
2 changed files with 0 additions and 2 deletions
|
@ -1699,7 +1699,6 @@ void migrate_init(MigrationState *s)
|
|||
* parameters/capabilities that the user set, and
|
||||
* locks.
|
||||
*/
|
||||
s->bytes_xfer = 0;
|
||||
s->cleanup_bh = 0;
|
||||
s->to_dst_file = NULL;
|
||||
s->state = MIGRATION_STATUS_NONE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue