X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fcompat-epoll.c;h=6259fd3895e46b9b27826944c1b7574b72b72ff3;hp=58f50cc94dd83e33448ca31ebdb2fd2594fee88a;hb=4e8b3b0cd7565762eaa6601b5889f82c4eaef367;hpb=02d8ac3daf181dc8b07bf206e8cd855e74e3fcd8 diff --git a/src/common/compat/compat-epoll.c b/src/common/compat/compat-epoll.c index 58f50cc94..6259fd389 100644 --- a/src/common/compat/compat-epoll.c +++ b/src/common/compat/compat-epoll.c @@ -208,7 +208,6 @@ int compat_epoll_wait(struct lttng_poll_event *events, int timeout) ERR("Wrong arguments in compat_epoll_wait"); goto error; } - assert(events->nb_fd >= 0); if (events->nb_fd == 0) { errno = EINVAL;