From 56269f51876582415cceb204b68909f64d207aad Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 14 Aug 2023 18:14:16 +0200 Subject: [PATCH] kernel: Fix poll syscall --- kernel/src/sys/poll.cpp | 3 --- 1 file changed, 3 deletions(-) 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();