Build fix: relayd: mismatching function signatures
[lttng-tools.git] / src / bin / lttng-relayd / session.c
index d6909fce13375548a28395aa74c75e1d7e70be73..7888d38f2fefd30f3ce423bbccaff0633c092fcb 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.036933 seconds and 4 git commands to generate.