Fix: Remove structurally dead code from relayd
[lttng-tools.git] / src / bin / lttng-relayd / live.c
index bedf13df666d2696c4fffa84e271a7f5558efffd..ff2bbda8355425f52f9633ba38961a4f357e3303 100644 (file)
@@ -2143,13 +2143,11 @@ int relayd_live_create(struct lttng_uri *uri,
         */
        return retval;
 
+       /*
+        * Join on the live_listener_thread should anything be added after
+        * the live_listener thread's creation.
+        */
 
-       ret = pthread_join(live_listener_thread, &status);
-       if (ret) {
-               errno = ret;
-               PERROR("pthread_join live listener");
-               retval = -1;
-       }
 exit_listener_thread:
 
        ret = pthread_join(live_worker_thread, &status);
This page took 0.023697 seconds and 4 git commands to generate.