From 3742153654a03433e5d96a9c4a483c7d356ab1c3 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 18 Nov 2019 14:37:33 -0500 Subject: [PATCH] ctf: remove ctf_msg_iter::set_stream This field is set but not used. Change-Id: Ibca38c8421b8d734462077a19da1726a817f3cb6 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/2401 Reviewed-by: Philippe Proulx --- src/plugins/ctf/common/msg-iter/msg-iter.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/plugins/ctf/common/msg-iter/msg-iter.c b/src/plugins/ctf/common/msg-iter/msg-iter.c index c4b98da0..70c839bc 100644 --- a/src/plugins/ctf/common/msg-iter/msg-iter.c +++ b/src/plugins/ctf/common/msg-iter/msg-iter.c @@ -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 { /* -- 2.34.1