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