]> git.lttng.org Git - lttng-tools.git/commitdiff
Clean-up: sessiond: remove unused ust_app_channel::ctx_list
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Dec 2024 19:52:14 +0000 (19:52 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Dec 2024 19:52:14 +0000 (19:52 +0000)
Change-Id: Ice55acc6a40fd307e34ba952abd51b957768d131
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-app.cpp
src/bin/lttng-sessiond/ust-app.hpp

index 802b593dcb2c0b9e888afe5557b1ee97791f1c41..65e97e1dc17b1ebc9d5c0d45be5d5a9ebfefddc9 100644 (file)
@@ -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) {
index 515dfdb4f337d2ac23eb828dfaa20fa4b6d483e3..a06debd80a0b8328fa95b1a1813da99b1e70ec07 100644 (file)
@@ -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;
This page took 0.032672 seconds and 4 git commands to generate.