Skip to content

Commit

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

0 comments on commit 0c5b8a4

Please sign in to comment.