Skip to content

Commit

Permalink
xfrm: remove unused xfrm4_policy_fini()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mkubecek authored and klassert committed Feb 6, 2013
1 parent a0073fe commit 1f53c80
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions net/ipv4/xfrm4_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1f53c80

Please sign in to comment.