Clean-up: ust-consumerd: remove stub of removed function
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 1 Feb 2023 19:22:32 +0000 (14:22 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 1 Feb 2023 19:25:53 +0000 (14:25 -0500)
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 <jeremie.galarneau@efficios.com>
Change-Id: I33f357bf642822a4825b9d3ceba098f1421c0132

src/common/ust-consumer/ust-consumer.hpp

index 6fc0dedcb6a2183d87d32faaf370b55ea96e4497..1996a5b51572a137f13c8806db9ead70f949a4cb 100644 (file)
@@ -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)))
This page took 0.026144 seconds and 4 git commands to generate.