net: remove sk_init() helper
authorEric Dumazet <edumazet@google.com>
Tue, 25 Sep 2012 11:32:13 +0000 (11:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2012 22:42:00 +0000 (18:42 -0400)
commite2bcabec6ea5ba30dd2097dc1566e9957d14117c
tree73c09343cd7302aea199bd1e991b81897f8ca5d7
parentf54ba7798848ce1385a71b36a2c997422c82220a
net: remove sk_init() helper

It seems sk_init() has no value today and even does strange things :

# grep . /proc/sys/net/core/?mem_*
/proc/sys/net/core/rmem_default:212992
/proc/sys/net/core/rmem_max:131071
/proc/sys/net/core/wmem_default:212992
/proc/sys/net/core/wmem_max:131071

We can remove it completely.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Shan Wei <davidshan@tencent.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c
net/socket.c