From: Jérémie Galarneau Date: Thu, 5 Dec 2024 19:52:14 +0000 (+0000) Subject: Clean-up: sessiond: remove unused ust_app_channel::ctx_list X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=41beb6eb6530c6ed818b4da2b73e91dee75498f1;p=lttng-tools.git Clean-up: sessiond: remove unused ust_app_channel::ctx_list Change-Id: Ice55acc6a40fd307e34ba952abd51b957768d131 Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/ust-app.cpp b/src/bin/lttng-sessiond/ust-app.cpp index 802b593dc..65e97e1dc 100644 --- a/src/bin/lttng-sessiond/ust-app.cpp +++ b/src/bin/lttng-sessiond/ust-app.cpp @@ -1215,7 +1215,6 @@ alloc_ust_app_channel(const char *name, lttng_ht_node_init_str(&ua_chan->node, ua_chan->name); CDS_INIT_LIST_HEAD(&ua_chan->streams.head); - CDS_INIT_LIST_HEAD(&ua_chan->ctx_list); /* Copy attributes */ if (attr) { @@ -2926,7 +2925,6 @@ static int create_ust_app_channel_context(struct ust_app_channel *ua_chan, lttng_ht_node_init_ulong(&ua_ctx->node, (unsigned long) ua_ctx->ctx.ctx); lttng_ht_add_ulong(ua_chan->ctx, &ua_ctx->node); - cds_list_add_tail(&ua_ctx->list, &ua_chan->ctx_list); ret = create_ust_channel_context(ua_chan, ua_ctx, app); if (ret < 0) { diff --git a/src/bin/lttng-sessiond/ust-app.hpp b/src/bin/lttng-sessiond/ust-app.hpp index 515dfdb4f..a06debd80 100644 --- a/src/bin/lttng-sessiond/ust-app.hpp +++ b/src/bin/lttng-sessiond/ust-app.hpp @@ -179,7 +179,6 @@ struct ust_app_channel { * user added them. */ struct lttng_ht *ctx; - struct cds_list_head ctx_list; struct lttng_ht *events; uint64_t tracefile_size;