diff options
author | Peter Xu <peterx@redhat.com> | 2018-01-03 20:20:16 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2018-01-15 12:48:12 +0100 |
commit | 26978faf2faa4e7688622694ca787a8abc691147 (patch) | |
tree | ca88f803b956dea547186f19fb8079ec76b54395 /migration/migration.c | |
parent | 199aa6d4e445b863cc0e373496b9d0900437d8a4 (diff) |
migration: remove some block_cleanup_parameters()
Keep the one in migrate_fd_cleanup() would be enough. Removing the other
two.
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/migration.c')
-rw-r--r-- | migration/migration.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/migration/migration.c b/migration/migration.c index 793fd163f7..47367cffae 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1160,7 +1160,6 @@ void migrate_fd_error(MigrationState *s, const Error *error) MIGRATION_STATUS_FAILED); migrate_set_error(s, error); notifier_list_notify(&migration_state_notifiers, s); - block_cleanup_parameters(s); } static void migrate_fd_cancel(MigrationState *s) @@ -1206,7 +1205,6 @@ static void migrate_fd_cancel(MigrationState *s) s->block_inactive = false; } } - block_cleanup_parameters(s); } void add_migration_state_change_notifier(Notifier *notify) |