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:
0c5b8a4
)
net/dccp/ccid.c: add __init to ccid_activate
author
Fabian Frederick
<fabf@skynet.be>
Wed, 1 Oct 2014 04:52:06 +0000
(06:52 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 1 Oct 2014 22:33:13 +0000
(18:33 -0400)
ccid_activate is only called by __init ccid_initialize_builtins in same module.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ccid.c
patch
|
blob
|
history
diff --git
a/net/dccp/ccid.c
b/net/dccp/ccid.c
index 597557254ddb42dd9e58e8cb5b3594f07fc34d10..83498975165f9906b80349d58559eb36d81e0fae 100644
(file)
--- a/
net/dccp/ccid.c
+++ b/
net/dccp/ccid.c
@@
-99,7
+99,7
@@
static void ccid_kmem_cache_destroy(struct kmem_cache *slab)
kmem_cache_destroy(slab);
}
-static int ccid_activate(struct ccid_operations *ccid_ops)
+static int
__init
ccid_activate(struct ccid_operations *ccid_ops)
{
int err = -ENOBUFS;