Remove "wants_reads" field from struct io_fd.
[srvx.git] / src / ioset-epoll.c
index 4e0589c364a705c288381d7add8aacd49ff173b6..a6b002eb4dec0e0c26e003c86fea5dd6b7b0c7a7 100644 (file)
@@ -46,7 +46,7 @@ static int
 ioset_epoll_events(struct io_fd *fd)
 {
     return EPOLLHUP
-        | (fd_wants_reads(fd) ? EPOLLIN : 0)
+        | EPOLLIN
         | (fd_wants_writes(fd) ? EPOLLOUT : 0)
         ;
 }