diff --git a/net/unix/garbage.c b/net/unix/garbage.c index e05f0ddf91bb..d417c84c7afc 100644 --- a/net/unix/garbage.c +++ b/net/unix/garbage.c @@ -248,10 +248,6 @@ void unix_gc(void) __set_bit(UNIX_GC_CANDIDATE, &u->gc_flags); __set_bit(UNIX_GC_MAYBE_CYCLE, &u->gc_flags); - if (sk->sk_state == TCP_LISTEN) { - unix_state_lock_nested(sk, U_LOCK_GC_LISTENER); - unix_state_unlock(sk); - } } }