Fix: remove logically dead code in send_channel_uid_to_ust
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 1bb183d5c68dfe7d4e5d56125f1dfbac26492a3a..17e33a1087dc837593520a2eeb3249267a5096f1 100644 (file)
@@ -2821,9 +2821,6 @@ static int send_channel_uid_to_ust(struct buffer_reg_channel *reg_chan,
                        (void) release_ust_app_stream(-1, &stream, app);
                        if (ret == -EPIPE || ret == -LTTNG_UST_ERR_EXITING) {
                                ret = -ENOTCONN; /* Caused by app exiting. */
-                               goto error_stream_unlock;
-                       } else if (ret < 0) {
-                               goto error_stream_unlock;
                        }
                        goto error_stream_unlock;
                }
This page took 0.023229 seconds and 4 git commands to generate.