diff options
author | Wei Yang <richardw.yang@linux.intel.com> | 2019-03-26 13:57:26 +0800 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-05-14 17:33:35 +0100 |
commit | 15d2d64cf58dcf666a07a695c0c4ec307da8f2ae (patch) | |
tree | 671b77c8406b3256356ad7772d6aa96928ba286a /migration | |
parent | a94cd7b8abda18e1c8ef9a62bf0576d2d294f568 (diff) |
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>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/migration.c | 1 | ||||
-rw-r--r-- | migration/migration.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/migration/migration.c b/migration/migration.c index 609e0df5d0..4844ad438b 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1681,7 +1681,6 @@ void migrate_init(MigrationState *s) * locks. */ s->bytes_xfer = 0; - s->xfer_limit = 0; s->cleanup_bh = 0; s->to_dst_file = NULL; s->state = MIGRATION_STATUS_NONE; diff --git a/migration/migration.h b/migration/migration.h index 438f17edad..780a096857 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -117,7 +117,6 @@ struct MigrationState /*< public >*/ size_t bytes_xfer; - size_t xfer_limit; QemuThread thread; QEMUBH *cleanup_bh; QEMUFile *to_dst_file; |