From: Jérémie Galarneau Date: Wed, 1 Feb 2023 19:22:32 +0000 (-0500) Subject: Clean-up: ust-consumerd: remove stub of removed function X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=2397268a583deb18a90ed2f76a95c6c6d46174f9;p=lttng-tools.git Clean-up: ust-consumerd: remove stub of removed function 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 --- 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)))