compat: remove always true assertion in compat-poll.c
[lttng-tools.git] / src / common / compat / compat-poll.c
index 79756f5731fa48dd41ac2c646333c4f1080278b3..1193b785f9874e8bcd15cd16b72673b3f0d7f645 100644 (file)
@@ -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. */
This page took 0.024508 seconds and 5 git commands to generate.