Fix: remove dead code
[lttng-tools.git] / src / common / ust-consumer / ust-consumer.c
index 65220729766d4ad56c6a5c861e9b8d8f6af84927..6acaacd63c942d1092ad9cdc056713f28a704462 100644 (file)
@@ -491,10 +491,6 @@ static int ask_channel(struct lttng_consumer_local_data *ctx, int sock,
 
        channel->wait_fd = ustctl_channel_get_wait_fd(channel->uchan);
 
-       if (ret < 0) {
-               goto error;
-       }
-
        /* Open all streams for this channel. */
        ret = create_ust_streams(channel, ctx);
        if (ret < 0) {
This page took 0.030201 seconds and 5 git commands to generate.