From 482b1157950e665c952ca8393e491fc9fc699157 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 25 Nov 2019 15:15:46 -0500 Subject: [PATCH] consumerd: remove unused function consumer_del_data_stream MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/common/consumer/consumer.c | 5 ----- 1 file changed, 5 deletions(-) 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. -- 2.34.1