Commit 0c5b8a46 authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller

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: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1e918876
...@@ -1082,7 +1082,7 @@ void dccp_shutdown(struct sock *sk, int how) ...@@ -1082,7 +1082,7 @@ void dccp_shutdown(struct sock *sk, int how)
EXPORT_SYMBOL_GPL(dccp_shutdown); 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); dccp_statistics = alloc_percpu(struct dccp_mib);
if (!dccp_statistics) if (!dccp_statistics)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment