Clean code base from redundant verification
[lttng-tools.git] / src / bin / lttng-relayd / live.c
index 9efab8a73d8e3b4932122d3d425a8d588d286e0d..9503ba470b70cd496291ec612f304c45446661d5 100644 (file)
@@ -543,11 +543,6 @@ restart:
                        revents = LTTNG_POLL_GETEV(&events, i);
                        pollfd = LTTNG_POLL_GETFD(&events, i);
 
-                       if (!revents) {
-                               /* No activity for this FD (poll implementation). */
-                               continue;
-                       }
-
                        /* Thread quit pipe has been closed. Killing thread. */
                        ret = check_thread_quit_pipe(pollfd, revents);
                        if (ret) {
@@ -2000,11 +1995,6 @@ restart:
 
                        health_code_update();
 
-                       if (!revents) {
-                               /* No activity for this FD (poll implementation). */
-                               continue;
-                       }
-
                        /* Thread quit pipe has been closed. Killing thread. */
                        ret = check_thread_quit_pipe(pollfd, revents);
                        if (ret) {
This page took 0.023605 seconds and 4 git commands to generate.