ctf: remove ctf_msg_iter::set_stream
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 18 Nov 2019 19:37:33 +0000 (14:37 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 26 Nov 2019 19:24:17 +0000 (14:24 -0500)
This field is set but not used.

Change-Id: Ibca38c8421b8d734462077a19da1726a817f3cb6
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2401
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/common/msg-iter/msg-iter.c

index c4b98da03456c5a8e8c67eb2c5aa952ba914ba8c..70c839bcae5a242c292dc5085d8af1901a264e8e 100644 (file)
@@ -133,9 +133,6 @@ struct ctf_msg_iter {
         */
        bool dry_run;
 
-       /* True to set the stream */
-       bool set_stream;
-
        /*
         * Current dynamic scope field pointer.
         *
@@ -2899,7 +2896,6 @@ enum ctf_msg_iter_status ctf_msg_iter_get_next_message(
 
        BT_ASSERT_DBG(msg_it);
        BT_ASSERT_DBG(message);
-       msg_it->set_stream = true;
        BT_COMP_LOGD("Getting next message: msg-it-addr=%p", msg_it);
 
        while (true) {
@@ -3036,7 +3032,6 @@ enum ctf_msg_iter_status decode_until_state( struct ctf_msg_iter *msg_it,
        bt_self_component *self_comp = msg_it->self_comp;
 
        BT_ASSERT_DBG(msg_it);
-       msg_it->set_stream = false;
 
        do {
                /*
This page took 0.025911 seconds and 4 git commands to generate.