From: Fabian Frederick Date: Wed, 1 Oct 2014 16:27:50 +0000 (+0200) Subject: tcp: add __init to tcp_init_mem X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=47d7a88c188f06ffaea3a539f84fe10cb4e77787;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git tcp: add __init to tcp_init_mem tcp_init_mem is only called by __init tcp_init. Signed-off-by: Fabian Frederick Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index cf5e508e1ef5..5c170340f684 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -3172,7 +3172,7 @@ static int __init set_thash_entries(char *str) } __setup("thash_entries=", set_thash_entries); -static void tcp_init_mem(void) +static void __init tcp_init_mem(void) { unsigned long limit = nr_free_buffer_pages() / 8; limit = max(limit, 128UL);