ust-app: remove dead code
[lttng-tools.git] / src / bin / lttng-sessiond / channel.c
index 6989fd890f788fe32be95ebdd4a77edbf7e9af1d..46256208d58d11fcd2fc2524be97f2a2cbccded8 100644 (file)
@@ -471,15 +471,6 @@ int channel_ust_create(struct ltt_ust_session *usess,
                goto error_free_chan;
        }
 
-       if (usess->active) {
-               /* Enable channel for global domain */
-               ret = ust_app_create_channel_glb(usess, uchan);
-               if (ret < 0 && ret != -LTTNG_UST_ERR_EXIST) {
-                       ret = LTTNG_ERR_UST_CHAN_FAIL;
-                       goto error_free_chan;
-               }
-       }
-
        /* Adding the channel to the channel hash table. */
        rcu_read_lock();
        if (strncmp(uchan->name, DEFAULT_METADATA_NAME,
This page took 0.024324 seconds and 4 git commands to generate.