mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 14:45:07 +00:00
Kernel: Remove more unused members of IPv4Socket.
I thought I had included these in the previous commit, but it turns out I hadn't, duh.
This commit is contained in:
parent
f8ffe2019c
commit
c06993b7cf
2 changed files with 0 additions and 6 deletions
|
@ -91,7 +91,6 @@ KResult IPv4Socket::bind(const sockaddr* address, socklen_t address_size)
|
|||
|
||||
KResult IPv4Socket::connect(FileDescription& description, const sockaddr* address, socklen_t address_size, ShouldBlock should_block)
|
||||
{
|
||||
ASSERT(!m_bound);
|
||||
if (address_size != sizeof(sockaddr_in))
|
||||
return KResult(-EINVAL);
|
||||
if (address->sa_family != AF_INET)
|
||||
|
@ -106,12 +105,10 @@ KResult IPv4Socket::connect(FileDescription& description, const sockaddr* addres
|
|||
|
||||
void IPv4Socket::attach(FileDescription&)
|
||||
{
|
||||
++m_attached_fds;
|
||||
}
|
||||
|
||||
void IPv4Socket::detach(FileDescription&)
|
||||
{
|
||||
--m_attached_fds;
|
||||
}
|
||||
|
||||
bool IPv4Socket::can_read(FileDescription& description) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue