X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fhealth-relayd.c;h=4a2dc65a6430bed4d1404a8b69ce4a76df937148;hp=9b4eefcd55f93e7ad6e9e5e018a398b76fc75f5a;hb=ea6bf30f3684cf71633cb9f2c70ea0bc22b664c4;hpb=22a7367148c238daf481e8e6756cdb76a73fd3a0 diff --git a/src/bin/lttng-relayd/health-relayd.c b/src/bin/lttng-relayd/health-relayd.c index 9b4eefcd5..4a2dc65a6 100644 --- a/src/bin/lttng-relayd/health-relayd.c +++ b/src/bin/lttng-relayd/health-relayd.c @@ -343,11 +343,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_health_quit_pipe(pollfd, revents); if (ret) {