diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2013-02-06 04:46:23 -0500 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2013-02-06 05:34:31 -0500 |
commit | 1f53c808502f1472bfc5829e6dd80317c7198a4a (patch) | |
tree | 015857a737de9f02cd68e6b698daf1597b91587c /net/ipv4 | |
parent | a0073fe18e718a1c815fe8b0120f1ac3c60284ba (diff) |
xfrm: remove unused xfrm4_policy_fini()
Function xfrm4_policy_fini() is unused since xfrm4_fini() was
removed in 2.6.11.
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/xfrm4_policy.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/ipv4/xfrm4_policy.c b/net/ipv4/xfrm4_policy.c index 3be0ac2c1920..0e28383c096f 100644 --- a/net/ipv4/xfrm4_policy.c +++ b/net/ipv4/xfrm4_policy.c | |||
@@ -270,15 +270,6 @@ static void __init xfrm4_policy_init(void) | |||
270 | xfrm_policy_register_afinfo(&xfrm4_policy_afinfo); | 270 | xfrm_policy_register_afinfo(&xfrm4_policy_afinfo); |
271 | } | 271 | } |
272 | 272 | ||
273 | static void __exit xfrm4_policy_fini(void) | ||
274 | { | ||
275 | #ifdef CONFIG_SYSCTL | ||
276 | if (sysctl_hdr) | ||
277 | unregister_net_sysctl_table(sysctl_hdr); | ||
278 | #endif | ||
279 | xfrm_policy_unregister_afinfo(&xfrm4_policy_afinfo); | ||
280 | } | ||
281 | |||
282 | void __init xfrm4_init(void) | 273 | void __init xfrm4_init(void) |
283 | { | 274 | { |
284 | dst_entries_init(&xfrm4_dst_ops); | 275 | dst_entries_init(&xfrm4_dst_ops); |