X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.c;h=8483146c65ab6ecf3d1b026d1f33c62be4442c8a;hp=914eda8c5a1386f3650d6b47cc499e64986267a5;hb=948411cd7aa5e2327177c2e4ed8be8dd65c8504c;hpb=62bad3bf0aaade7f80ba4e536e1b9e734ec2e051 diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index 914eda8c5..8483146c6 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -1727,9 +1727,8 @@ ssize_t lttng_consumer_on_read_subbuffer_mmap( /* RCU lock for the relayd pointer */ rcu_read_lock(); - assert(stream->net_seq_idx != (uint64_t) -1ULL || - stream->chan->trace_chunk); + stream->trace_chunk); /* Flag that the current stream if set for network streaming. */ if (stream->net_seq_idx != (uint64_t) -1ULL) {