From 98f26e22c1ccebc5baa4d7edc6ef40246cc5de18 Mon Sep 17 00:00:00 2001 From: Francis Deslauriers Date: Thu, 3 Oct 2019 16:48:00 -0400 Subject: [PATCH] Cleanup: flt.lttng-utils.debug-info: remove leftover comments Signed-off-by: Francis Deslauriers Change-Id: I98412f2f27d8b3c7611f26021b1e8dca12062b87 Reviewed-on: https://review.lttng.org/c/babeltrace/+/2131 Tested-by: jenkins Reviewed-by: Philippe Proulx --- src/plugins/lttng-utils/debug-info/trace-ir-mapping.c | 8 -------- .../lttng-utils/debug-info/trace-ir-metadata-copy.c | 1 - 2 files changed, 9 deletions(-) diff --git a/src/plugins/lttng-utils/debug-info/trace-ir-mapping.c b/src/plugins/lttng-utils/debug-info/trace-ir-mapping.c index 67f7a2db..c0916005 100644 --- a/src/plugins/lttng-utils/debug-info/trace-ir-mapping.c +++ b/src/plugins/lttng-utils/debug-info/trace-ir-mapping.c @@ -232,10 +232,6 @@ bt_stream *trace_ir_mapping_create_new_mapped_stream( BT_COMP_LOGE_STR("Error creating output stream"); goto end; } - /* - * Release our ref since the trace object will be managing the life - * time of the stream objects. - */ copy_stream_content(in_stream, out_stream, ir_maps->log_level, ir_maps->self_comp); @@ -391,10 +387,6 @@ bt_packet *trace_ir_mapping_create_new_mapped_packet( goto end; } - /* - * Release our ref since the stream object will be managing the life - * time of the packet objects. - */ copy_packet_content(in_packet, out_packet, ir_maps->log_level, ir_maps->self_comp); diff --git a/src/plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c b/src/plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c index f5571dbc..e0d73d87 100644 --- a/src/plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c +++ b/src/plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c @@ -328,7 +328,6 @@ int copy_stream_class_content(struct trace_ir_maps *ir_maps, } } - /* Set packet snapshot boolean fields. */ BT_COMP_LOGD("Copied content of stream class: in-sc-addr=%p, out-sc-addr=%p", in_stream_class, out_stream_class); error: -- 2.34.1