summaryrefslogtreecommitdiffstats
path: root/net/ipv4/cipso_ipv4.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-10-01 19:30:03 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-01 21:46:20 +0200
commitcb57659a15c6c0576493cc8a10474ce7ffd44eb3 (patch)
tree366d87f89a405a428e3f0237c64637c8320bcc81 /net/ipv4/cipso_ipv4.c
parentinet: frags: add __init to ip4_frags_ctl_register (diff)
downloadlinux-cb57659a15c6c0576493cc8a10474ce7ffd44eb3.tar.xz
linux-cb57659a15c6c0576493cc8a10474ce7ffd44eb3.zip
cipso: add __init to cipso_v4_cache_init
cipso_v4_cache_init is only called by __init cipso_v4_init Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/cipso_ipv4.c')
-rw-r--r--net/ipv4/cipso_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c
index 05b708bbdb0d..4715f25dfe03 100644
--- a/net/ipv4/cipso_ipv4.c
+++ b/net/ipv4/cipso_ipv4.c
@@ -246,7 +246,7 @@ static u32 cipso_v4_map_cache_hash(const unsigned char *key, u32 key_len)
* success, negative values on error.
*
*/
-static int cipso_v4_cache_init(void)
+static int __init cipso_v4_cache_init(void)
{
u32 iter;