projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e91887
)
net/dccp/proto.c: add __init to dccp_mib_init
author
Fabian Frederick
<fabf@skynet.be>
Wed, 1 Oct 2014 04:48:03 +0000
(06:48 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 1 Oct 2014 22:33:13 +0000
(18:33 -0400)
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>
net/dccp/proto.c
patch
|
blob
|
history
diff --git
a/net/dccp/proto.c
b/net/dccp/proto.c
index de2c1e7193057dee2e994386f5bb685e05b47163..1ad150ed57cfcc6e5a64ade6146150a8be6704e5 100644
(file)
--- 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)