xfrm: remove unused xfrm4_policy_fini()
authorMichal Kubecek <mkubecek@suse.cz>
Wed, 6 Feb 2013 09:46:23 +0000 (10:46 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 6 Feb 2013 10:34:31 +0000 (11:34 +0100)
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>
net/ipv4/xfrm4_policy.c

index 3be0ac2c1920e668be3f53f44a3df731a44204fc..0e28383c096f69fc0ef207ac495b64adf9bf3233 100644 (file)
@@ -270,15 +270,6 @@ static void __init xfrm4_policy_init(void)
        xfrm_policy_register_afinfo(&xfrm4_policy_afinfo);
 }
 
-static void __exit xfrm4_policy_fini(void)
-{
-#ifdef CONFIG_SYSCTL
-       if (sysctl_hdr)
-               unregister_net_sysctl_table(sysctl_hdr);
-#endif
-       xfrm_policy_unregister_afinfo(&xfrm4_policy_afinfo);
-}
-
 void __init xfrm4_init(void)
 {
        dst_entries_init(&xfrm4_dst_ops);