*
* The caller must hold the lock of session.
*/
-bool session_has_ongoing_rotation(const struct relay_session *session)
+bool session_has_ongoing_rotation(struct relay_session *session)
{
bool ongoing_rotation = false;
struct lttng_ht_iter iter;
struct relay_session *iterated_session;
- ASSERT_LOCKED(session->lock);
-
if (!session->id_sessiond.is_set) {
/*
* The peer that created this session is too old to