Fix: Remove structurally dead code from relayd
[lttng-tools.git] / src / bin / lttng-relayd / live.c
index 3728005df77c3efa3d7c9e20f5ca537db26940bf..55f5c80355afb7535e36056352218bc66967ecaa 100644 (file)
@@ -2142,13 +2142,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.025027 seconds and 5 git commands to generate.