projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7a1be
)
tcp: add __init to tcp_init_mem
author
Fabian Frederick
<fabf@skynet.be>
Wed, 1 Oct 2014 16:27:50 +0000
(18:27 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 1 Oct 2014 19:41:14 +0000
(15:41 -0400)
tcp_init_mem is only called by __init tcp_init.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp.c
b/net/ipv4/tcp.c
index cf5e508e1ef55cdeafe308d59774850957debf3b..5c170340f6842ed948fbaacd8dbe492a23846a72 100644
(file)
--- 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);