[NET]: Cleanup INET_REFCNT_DEBUG code
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
d13964f449
commit
e6848976b7
@@ -1367,11 +1367,7 @@ void sk_common_release(struct sock *sk)
|
||||
|
||||
xfrm_sk_free_policy(sk);
|
||||
|
||||
#ifdef INET_REFCNT_DEBUG
|
||||
if (atomic_read(&sk->sk_refcnt) != 1)
|
||||
printk(KERN_DEBUG "Destruction of the socket %p delayed, c=%d\n",
|
||||
sk, atomic_read(&sk->sk_refcnt));
|
||||
#endif
|
||||
sk_refcnt_debug_release(sk);
|
||||
sock_put(sk);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user