Improve UST context code
[lttng-tools.git] / lttng-sessiond / ust-app.c
index 4f65553c8385d770c6f9c9a1e517a21e8ba0c06c..2ed9d002d49f444df38662f3cf26e335d10f0b41 100644 (file)
@@ -2195,9 +2195,6 @@ int ust_app_add_ctx_channel_glb(struct ltt_ust_session *usess,
                }
        }
 
-       /* Add ltt UST context node to ltt UST channel */
-       hashtable_add_unique(uchan->ctx, &uctx->node);
-
        rcu_read_unlock();
        return ret;
 }
@@ -2248,9 +2245,6 @@ int ust_app_add_ctx_event_glb(struct ltt_ust_session *usess,
                }
        }
 
-       /* Add ltt UST context node to ltt UST event */
-       hashtable_add_unique(uevent->ctx, &uctx->node);
-
        rcu_read_unlock();
        return ret;
 }
This page took 0.023031 seconds and 4 git commands to generate.