X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fcompat-poll.c;h=1193b785f9874e8bcd15cd16b72673b3f0d7f645;hp=79756f5731fa48dd41ac2c646333c4f1080278b3;hb=4375b3d11abd6299e4eac8fafa4c7e0437ad9cfe;hpb=aa997ea33777896c17c9f46732e90dd4a1a9188c diff --git a/src/common/compat/compat-poll.c b/src/common/compat/compat-poll.c index 79756f573..1193b785f 100644 --- a/src/common/compat/compat-poll.c +++ b/src/common/compat/compat-poll.c @@ -314,7 +314,6 @@ int compat_poll_wait(struct lttng_poll_event *events, int timeout, ERR("poll wait arguments error"); goto error; } - assert(events->current.nb_fd >= 0); if (events->current.nb_fd == 0) { /* Return an invalid error to be consistent with epoll. */