diff --git a/Kernel/LocalSocket.h b/Kernel/LocalSocket.h index 4d65391d10..1b56b0a33b 100644 --- a/Kernel/LocalSocket.h +++ b/Kernel/LocalSocket.h @@ -27,7 +27,6 @@ private: virtual bool is_local() const override { return true; } RetainPtr m_file; - RetainPtr m_peer; bool m_bound { false }; int m_accepted_fds_open { 0 }; diff --git a/Kernel/Socket.cpp b/Kernel/Socket.cpp index e6aeecc7aa..e6e26114b6 100644 --- a/Kernel/Socket.cpp +++ b/Kernel/Socket.cpp @@ -49,7 +49,6 @@ RetainPtr Socket::accept() auto client = m_pending.take_first(); ASSERT(!client->is_connected()); client->m_connected = true; - m_clients.append(client.copy_ref()); return client; } diff --git a/Kernel/Socket.h b/Kernel/Socket.h index 2b8866a3f5..683ff53858 100644 --- a/Kernel/Socket.h +++ b/Kernel/Socket.h @@ -74,7 +74,6 @@ private: timeval m_send_deadline { 0, 0 }; Vector> m_pending; - Vector> m_clients; }; class SocketHandle {