summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-01 06:48:03 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-01 18:33:13 -0400
commit0c5b8a46294d43fc63788839d3c18de0961ec1bc (patch)
tree8c24b243b6a9730866f44824125eaeb2d20a9480 /net/dccp
parent1e918876853aa85435e0f17fd8b4a92dcfff53d6 (diff)
net/dccp/proto.c: add __init to dccp_mib_init
dccp_mib_init is only called by __init dccp_init in same module. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c
index de2c1e719305..1ad150ed57cf 100644
--- a/net/dccp/proto.c
+++ b/net/dccp/proto.c
@@ -1082,7 +1082,7 @@ void dccp_shutdown(struct sock *sk, int how)
EXPORT_SYMBOL_GPL(dccp_shutdown);
-static inline int dccp_mib_init(void)
+static inline int __init dccp_mib_init(void)
{
dccp_statistics = alloc_percpu(struct dccp_mib);
if (!dccp_statistics)