From: Simon Marchi Date: Mon, 25 Nov 2019 20:15:46 +0000 (-0500) Subject: consumerd: remove unused function consumer_del_data_stream X-Git-Tag: v2.12.0-rc1~210 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=482b1157950e665c952ca8393e491fc9fc699157;p=lttng-tools.git consumerd: remove unused function consumer_del_data_stream Fix: CC consumer.lo /home/smarchi/src/lttng-tools/src/common/consumer/consumer.c:712:6: error: no previous declaration for ‘consumer_del_data_stream’ [-Werror=missing-declarations] void consumer_del_data_stream(struct lttng_consumer_stream *stream) ^~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Simon Marchi Change-Id: I92a47e069055713eaa4fdbc7f034a8f8e439f283 Signed-off-by: Jérémie Galarneau --- diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index 1ea682f02..d903c54c2 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -709,11 +709,6 @@ void consumer_add_data_stream(struct lttng_consumer_stream *stream) pthread_mutex_unlock(&consumer_data.lock); } -void consumer_del_data_stream(struct lttng_consumer_stream *stream) -{ - consumer_del_stream(stream, data_ht); -} - /* * Add relayd socket to global consumer data hashtable. RCU read side lock MUST * be acquired before calling this.