Got rid of DeleteSocket().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23236 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-01-03 19:55:19 +00:00
parent 7d61af89af
commit 5c3cf26310
2 changed files with 1 additions and 11 deletions
@@ -763,14 +763,6 @@ TCPEndpoint::IsBound() const
}
void
TCPEndpoint::DeleteSocket()
{
// the next call will delete `this'.
gSocketModule->delete_socket(socket);
}
status_t
TCPEndpoint::DelayedAcknowledge()
{
@@ -1887,6 +1879,6 @@ TCPEndpoint::_TimeWaitTimer(struct net_timer *timer, void *data)
if (mutex_lock(&endpoint->fLock) < B_OK)
return;
endpoint->DeleteSocket();
gSocketModule->delete_socket(endpoint->socket);
}
@@ -72,8 +72,6 @@ class TCPEndpoint : public net_protocol, public ProtocolSocket {
tcp_state State() const { return fState; }
bool IsBound() const;
void DeleteSocket();
status_t DelayedAcknowledge();
status_t SendAcknowledge(bool force);
status_t UpdateTimeWait();