diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-10-01 00:48:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-01 18:33:13 -0400 |
commit | 0c5b8a46294d43fc63788839d3c18de0961ec1bc (patch) | |
tree | 8c24b243b6a9730866f44824125eaeb2d20a9480 /net/dccp | |
parent | 1e918876853aa85435e0f17fd8b4a92dcfff53d6 (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.c | 2 |
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) | |||
1082 | 1082 | ||
1083 | EXPORT_SYMBOL_GPL(dccp_shutdown); | 1083 | EXPORT_SYMBOL_GPL(dccp_shutdown); |
1084 | 1084 | ||
1085 | static inline int dccp_mib_init(void) | 1085 | static inline int __init dccp_mib_init(void) |
1086 | { | 1086 | { |
1087 | dccp_statistics = alloc_percpu(struct dccp_mib); | 1087 | dccp_statistics = alloc_percpu(struct dccp_mib); |
1088 | if (!dccp_statistics) | 1088 | if (!dccp_statistics) |