lib: remove stream activity messages
[babeltrace.git] / src / plugins / utils / muxer / muxer.c
index d47ad6e08667dce1000fc8350543f3291abc30ea..37d006087866d92a535c12f953bc343a246eb519 100644 (file)
@@ -538,7 +538,6 @@ int get_msg_ts_ns(struct muxer_comp *muxer_comp,
 {
        const bt_clock_snapshot *clock_snapshot = NULL;
        int ret = 0;
-       bt_message_stream_activity_clock_snapshot_state sa_cs_state;
        const bt_stream_class *stream_class = NULL;
        bt_message_type msg_type;
 
@@ -621,26 +620,6 @@ int get_msg_ts_ns(struct muxer_comp *muxer_comp,
                        goto no_clock_snapshot;
                }
 
-               break;
-       case BT_MESSAGE_TYPE_STREAM_ACTIVITY_BEGINNING:
-               BT_ASSERT(bt_message_stream_activity_beginning_borrow_stream_class_default_clock_class_const(
-                               msg));
-               sa_cs_state = bt_message_stream_activity_beginning_borrow_default_clock_snapshot_const(
-                       msg, &clock_snapshot);
-               if (sa_cs_state != BT_MESSAGE_STREAM_ACTIVITY_CLOCK_SNAPSHOT_STATE_KNOWN) {
-                       goto no_clock_snapshot;
-               }
-
-               break;
-       case BT_MESSAGE_TYPE_STREAM_ACTIVITY_END:
-               BT_ASSERT(bt_message_stream_activity_end_borrow_stream_class_default_clock_class_const(
-                               msg));
-               sa_cs_state = bt_message_stream_activity_end_borrow_default_clock_snapshot_const(
-                       msg, &clock_snapshot);
-               if (sa_cs_state != BT_MESSAGE_STREAM_ACTIVITY_CLOCK_SNAPSHOT_STATE_KNOWN) {
-                       goto no_clock_snapshot;
-               }
-
                break;
        case BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY:
                clock_snapshot = bt_message_message_iterator_inactivity_borrow_default_clock_snapshot_const(
This page took 0.023202 seconds and 4 git commands to generate.