]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/core/sock.c
net: remove sk_init() helper
[karo-tx-linux.git] / net / core / sock.c
index 727114cd6f7ebdcc63e312eb89a9f3634d2308e3..f5a426097236129310e1129f4fbe65e5746352cf 100644 (file)
@@ -1464,19 +1464,6 @@ void sk_setup_caps(struct sock *sk, struct dst_entry *dst)
 }
 EXPORT_SYMBOL_GPL(sk_setup_caps);
 
-void __init sk_init(void)
-{
-       if (totalram_pages <= 4096) {
-               sysctl_wmem_max = 32767;
-               sysctl_rmem_max = 32767;
-               sysctl_wmem_default = 32767;
-               sysctl_rmem_default = 32767;
-       } else if (totalram_pages >= 131072) {
-               sysctl_wmem_max = 131071;
-               sysctl_rmem_max = 131071;
-       }
-}
-
 /*
  *     Simple resource managers for sockets.
  */