Kernel: Remove SmapDisabler in bind()

This commit is contained in:
Andreas Kling 2020-01-11 12:07:45 +01:00
commit 1434f30f92
Notes: sideshowbarker 2024-07-19 10:12:23 +09:00
3 changed files with 18 additions and 14 deletions

View file

@ -2808,7 +2808,6 @@ int Process::sys$bind(int sockfd, const sockaddr* address, socklen_t address_len
return -EBADF;
if (!description->is_socket())
return -ENOTSOCK;
SmapDisabler disabler;
auto& socket = *description->socket();
return socket.bind(address, address_length);
}