X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.c;h=c70d95a58bfc91a3a053c1d160be6ec1f8a0bba6;hp=10273e66a18fe496d98b1407a30a2ae9c840c1ea;hb=ea6bf30f3684cf71633cb9f2c70ea0bc22b664c4;hpb=22a7367148c238daf481e8e6756cdb76a73fd3a0 diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index 10273e66a..c70d95a58 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -2396,11 +2396,6 @@ restart: revents = LTTNG_POLL_GETEV(&events, i); pollfd = LTTNG_POLL_GETFD(&events, i); - if (!revents) { - /* No activity for this FD (poll implementation). */ - continue; - } - if (pollfd == lttng_pipe_get_readfd(ctx->consumer_metadata_pipe)) { if (revents & LPOLLIN) { ssize_t pipe_len; @@ -2990,11 +2985,6 @@ restart: revents = LTTNG_POLL_GETEV(&events, i); pollfd = LTTNG_POLL_GETFD(&events, i); - if (!revents) { - /* No activity for this FD (poll implementation). */ - continue; - } - if (pollfd == ctx->consumer_channel_pipe[0]) { if (revents & LPOLLIN) { enum consumer_channel_action action;