X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.c;fp=src%2Fcommon%2Fconsumer%2Fconsumer.c;h=ff88c7f1ef31f0ef33ea5ab8d26e8c09b81813ca;hb=bd60b0dbd7eddccabefa8fee82156fcb2e2f2bef;hp=f5c532714cdedfd8f624295d2274a5402e96b640;hpb=66011855c392036ddc8d33e0cbc9eb799dec5448;p=lttng-tools.git diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index f5c532714..ff88c7f1e 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -179,13 +179,6 @@ static void clean_channel_stream_list(struct lttng_consumer_channel *channel) /* Delete streams that might have been left in the stream list. */ cds_list_for_each_entry_safe(stream, stmp, &channel->streams.head, send_node) { - /* - * Once a stream is added to this list, the buffers were created so we - * have a guarantee that this call will succeed. Setting the monitor - * mode to 0 so we don't lock nor try to delete the stream from the - * global hash table. - */ - stream->monitor = 0; consumer_stream_destroy(stream, NULL); } }