diff --git a/kernel/src/sys/poll.cpp b/kernel/src/sys/poll.cpp index 38719fbe..c2c3f8d1 100644 --- a/kernel/src/sys/poll.cpp +++ b/kernel/src/sys/poll.cpp @@ -48,9 +48,6 @@ Result sys_poll(Registers*, SyscallArgs args) if (kfds[i].events & POLLIN) { - fds_with_events++; - kfds[i].revents |= POLLIN; - if (inode->type() == VFS::InodeType::Socket) { auto socket = (Socket*)inode.ptr();