diff options
author | Eric Dumazet <edumazet@google.com> | 2012-09-25 13:32:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-28 00:42:00 +0200 |
commit | e2bcabec6ea5ba30dd2097dc1566e9957d14117c (patch) | |
tree | 73c09343cd7302aea199bd1e991b81897f8ca5d7 /net/socket.c | |
parent | pkt_sched: Fix warning false positives. (diff) | |
download | linux-e2bcabec6ea5ba30dd2097dc1566e9957d14117c.tar.xz linux-e2bcabec6ea5ba30dd2097dc1566e9957d14117c.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | net/socket.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/socket.c b/net/socket.c index c641549a13e2..80dc7e84b046 100644 --- a/net/socket.c +++ b/net/socket.c @@ -2601,12 +2601,6 @@ static int __init sock_init(void) goto out; /* - * Initialize sock SLAB cache. - */ - - sk_init(); - - /* * Initialize skbuff SLAB cache */ skb_init(); |