mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-02 22:41:07 +00:00
migration: remove not used field xfer_limit
MigrationState->xfer_limit is only set to 0 in migrate_init(). Remove this unnecessary field. Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Message-Id: <20190326055726.10539-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
a94cd7b8ab
commit
15d2d64cf5
2 changed files with 0 additions and 2 deletions
|
@ -1681,7 +1681,6 @@ void migrate_init(MigrationState *s)
|
||||||
* locks.
|
* locks.
|
||||||
*/
|
*/
|
||||||
s->bytes_xfer = 0;
|
s->bytes_xfer = 0;
|
||||||
s->xfer_limit = 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;
|
||||||
|
|
|
@ -117,7 +117,6 @@ struct MigrationState
|
||||||
|
|
||||||
/*< public >*/
|
/*< public >*/
|
||||||
size_t bytes_xfer;
|
size_t bytes_xfer;
|
||||||
size_t xfer_limit;
|
|
||||||
QemuThread thread;
|
QemuThread thread;
|
||||||
QEMUBH *cleanup_bh;
|
QEMUBH *cleanup_bh;
|
||||||
QEMUFile *to_dst_file;
|
QEMUFile *to_dst_file;
|
||||||
|
|
Loading…
Reference in a new issue