提交 26978faf 编写于 作者: P Peter Xu 提交者: Juan Quintela

migration: remove some block_cleanup_parameters()

Keep the one in migrate_fd_cleanup() would be enough.  Removing the other
two.
Signed-off-by: NPeter Xu <peterx@redhat.com>
Reviewed-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NJuan Quintela <quintela@redhat.com>
上级 199aa6d4
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册