Build fix: relayd: mismatching function signatures
[lttng-tools.git] / src / bin / lttng-relayd / session.c
index 6b98431d13630dcc4862efbb64c9ecaaef470daa..7cc61532015a32201b1b06178aeaeb73edaf3def 100644 (file)
@@ -480,14 +480,12 @@ end:
  *
  * 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
This page took 0.035353 seconds and 4 git commands to generate.