Skip to content

Commit

Permalink
net/dccp/ccid.c: add __init to ccid_activate
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabian Frederick authored and David S. Miller committed Oct 1, 2014
1 parent 0c5b8a4 commit e500f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/dccp/ccid.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e500f48

Please sign in to comment.