Net: Put a bunch of socket debug logging behind FOO_DEBUG

Also remove an unused Socket::listen() implementation.
This commit is contained in:
Andreas Kling 2019-10-18 16:47:29 +02:00
commit e08991319a
Notes: sideshowbarker 2024-07-19 11:39:04 +09:00
3 changed files with 10 additions and 11 deletions

View file

@ -158,7 +158,9 @@ KResult LocalSocket::listen(int backlog)
return KResult(-EOPNOTSUPP);
set_backlog(backlog);
m_connect_side_role = m_role = Role::Listener;
#ifdef DEBUG_LOCAL_SOCKET
kprintf("LocalSocket{%p} listening with backlog=%d\n", this, backlog);
#endif
return KSuccess;
}