diff options
author | Wei Yang <richardw.yang@linux.intel.com> | 2019-04-02 08:31:06 +0800 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-08-14 17:33:14 +0100 |
commit | 14adf288d3a1617bf9ccf2da346b2b002a07d8f2 (patch) | |
tree | bae7a0b51cc7ad5d16cbc776d7f434bbb4c09f24 /migration/migration.c | |
parent | 32e70aad7e984f7a609850985895e97fc03579ab (diff) |
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.c')
-rw-r--r-- | migration/migration.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/migration.c b/migration/migration.c index 8331e62831..12b8e5dbe5 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -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; |