mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Kernel: Remove the Socket::{protocol,}connect ShouldBlock argument
This argument is always set to description.is_blocking(), but description is also given as a separate argument, so there's no point to piping it through separately.
This commit is contained in:
parent
2aaaee6744
commit
364f6a9bf0
10 changed files with 13 additions and 18 deletions
|
@ -105,7 +105,7 @@ ErrorOr<size_t> UDPSocket::protocol_send(UserOrKernelBuffer const& data, size_t
|
|||
return data_length;
|
||||
}
|
||||
|
||||
ErrorOr<void> UDPSocket::protocol_connect(OpenFileDescription&, ShouldBlock)
|
||||
ErrorOr<void> UDPSocket::protocol_connect(OpenFileDescription&)
|
||||
{
|
||||
set_role(Role::Connected);
|
||||
set_connected(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue