From 2397268a583deb18a90ed2f76a95c6c6d46174f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 1 Feb 2023 14:22:32 -0500 Subject: [PATCH] Clean-up: ust-consumerd: remove stub of removed function MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit lttng_ustconsumer_allocate_channel() no longer exists. However, it is still declared and a stub is present when building without liblttng-ust. Remove both as they are no longer needed. Signed-off-by: Jérémie Galarneau Change-Id: I33f357bf642822a4825b9d3ceba098f1421c0132 --- src/common/ust-consumer/ust-consumer.hpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/common/ust-consumer/ust-consumer.hpp b/src/common/ust-consumer/ust-consumer.hpp index 6fc0dedcb..1996a5b51 100644 --- a/src/common/ust-consumer/ust-consumer.hpp +++ b/src/common/ust-consumer/ust-consumer.hpp @@ -27,7 +27,6 @@ int lttng_ustconsumer_get_consumed_snapshot( int lttng_ustconsumer_recv_cmd(struct lttng_consumer_local_data *ctx, int sock, struct pollfd *consumer_sockpoll); -extern int lttng_ustconsumer_allocate_channel(struct lttng_consumer_channel *chan); extern void lttng_ustconsumer_del_channel(struct lttng_consumer_channel *chan); extern void lttng_ustconsumer_free_channel(struct lttng_consumer_channel *chan); extern int lttng_ustconsumer_add_stream(struct lttng_consumer_stream *stream); @@ -125,13 +124,6 @@ int lttng_ustconsumer_recv_cmd( return -ENOSYS; } -static inline -int lttng_ustconsumer_allocate_channel( - struct lttng_consumer_channel *chan __attribute__((unused))) -{ - return -ENOSYS; -} - static inline void lttng_ustconsumer_del_channel( struct lttng_consumer_channel *chan __attribute__((unused))) -- 2.34.1