From: Jaroslav Kysela Date: Sun, 10 Dec 2017 15:36:48 +0000 (+0100) Subject: Revert "tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ed739d6af6cc118c3e900614095c28ba285e4b2;p=thirdparty%2Ftvheadend.git Revert "tvhpoll: return correct fd in tvhpoll_wait() for linux's epoll" This reverts commit ac07ce1a26b5161a87f96a7e9c9fe020c06c5b25. --- diff --git a/src/tvhpoll.c b/src/tvhpoll.c index f61a373d4..4b8f119f3 100644 --- a/src/tvhpoll.c +++ b/src/tvhpoll.c @@ -198,7 +198,6 @@ int tvhpoll_wait #if ENABLE_EPOLL nfds = epoll_wait(tp->fd, tp->ev, num, ms); for (i = 0; i < nfds; i++) { - evs[i].fd = tp->ev[i].data.fd; evs[i].data.u64 = tp->ev[i].data.u64; evs[i].events = 0; if (tp->ev[i].events & EPOLLIN) evs[i].events |= TVHPOLL_IN;