mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Kernel: Remove redundant socket_by_tuple removal in ~TCPSocket()
This commit is contained in:
parent
3bd7f5b89e
commit
626507943c
1 changed files with 0 additions and 4 deletions
|
@ -160,10 +160,6 @@ TCPSocket::TCPSocket(int protocol, NonnullOwnPtr<DoubleBuffer> receive_buffer, N
|
||||||
|
|
||||||
TCPSocket::~TCPSocket()
|
TCPSocket::~TCPSocket()
|
||||||
{
|
{
|
||||||
sockets_by_tuple().with_exclusive([&](auto& table) {
|
|
||||||
table.remove(tuple());
|
|
||||||
});
|
|
||||||
|
|
||||||
dequeue_for_retransmit();
|
dequeue_for_retransmit();
|
||||||
|
|
||||||
dbgln_if(TCP_SOCKET_DEBUG, "~TCPSocket in state {}", to_string(state()));
|
dbgln_if(TCP_SOCKET_DEBUG, "~TCPSocket in state {}", to_string(state()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue