Fix: remove logically dead code in send_channel_uid_to_ust
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index e0983b0417ed57a2a9d375c1d5d244fb94ccb6c5..df52f491f0912ac5f6bfb7c6bfbf1e4e9df09c7e 100644 (file)
@@ -2606,9 +2606,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.024206 seconds and 4 git commands to generate.