]> git.lttng.org Git - lttng-tools.git/commitdiff
Clean-up: sessiond: remove unused ust_app_ctx::list
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 5 Dec 2024 20:49:20 +0000 (20:49 +0000)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 20 Jan 2025 15:11:00 +0000 (10:11 -0500)
Change-Id: Ib13497dea90fa1d22bee51b7745a1960e09181f4
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 21b67e9d448859ce06dbe7a610c27d1e46d00c1f..0a5fda52f9877e3da5cb9e834010cfca7a2f70c6 100644 (file)
@@ -583,7 +583,6 @@ static void delete_ust_app_channel(int sock,
             lttng::urcu::lfht_iteration_adapter<ust_app_ctx,
                                                 decltype(ust_app_ctx::node),
                                                 &ust_app_ctx::node>(*ua_chan->ctx->ht)) {
-               cds_list_del(&ua_ctx->list);
                ret = cds_lfht_del(ua_chan->ctx->ht, &ua_ctx->node.node);
                LTTNG_ASSERT(!ret);
                delete_ust_app_ctx(sock, ua_ctx, app);
@@ -1366,8 +1365,6 @@ static struct ust_app_ctx *alloc_ust_app_ctx(struct lttng_ust_context_attr *uctx
                goto error;
        }
 
-       CDS_INIT_LIST_HEAD(&ua_ctx->list);
-
        if (uctx) {
                memcpy(&ua_ctx->ctx, uctx, sizeof(ua_ctx->ctx));
                if (uctx->ctx == LTTNG_UST_ABI_CONTEXT_APP_CONTEXT) {
index cad2a380628f3f474776e83ec29ff5b7ab69d43f..44ccb6185a98916158ee4d9f4e5d6afdbdcdacdd 100644 (file)
@@ -112,7 +112,6 @@ struct ust_app_ctx {
        struct lttng_ust_context_attr ctx;
        struct lttng_ust_abi_object_data *obj;
        struct lttng_ht_node_ulong node;
-       struct cds_list_head list;
 };
 
 struct ust_app_event {
This page took 0.031822 seconds and 4 git commands to generate.