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 /include | |
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 'include')
-rw-r--r-- | include/net/sock.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index f036493b9a61..bc476a19f28e 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -2229,8 +2229,6 @@ extern int net_msg_warn; extern __u32 sysctl_wmem_max; extern __u32 sysctl_rmem_max; -extern void sk_init(void); - extern int sysctl_optmem_max; extern __u32 sysctl_wmem_default; |