Commit 119eac40 authored by Peter Chubb's avatar Peter Chubb Committed by David S. Miller

[IPV6]: Fix non-modular build.

Remove __exit from functions calls from functions
other than module_exit().
Signed-off-by: default avatarPeter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: default avatarHideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7bcfc318
...@@ -1218,7 +1218,7 @@ void __init fib6_init(void) ...@@ -1218,7 +1218,7 @@ void __init fib6_init(void)
panic("cannot create fib6_nodes cache"); panic("cannot create fib6_nodes cache");
} }
void __exit fib6_gc_cleanup(void) void fib6_gc_cleanup(void)
{ {
del_timer(&ip6_fib_timer); del_timer(&ip6_fib_timer);
kmem_cache_destroy(fib6_node_kmem); kmem_cache_destroy(fib6_node_kmem);
......
...@@ -698,7 +698,7 @@ void __init ipv6_packet_init(void) ...@@ -698,7 +698,7 @@ void __init ipv6_packet_init(void)
dev_add_pack(&ipv6_packet_type); dev_add_pack(&ipv6_packet_type);
} }
void __exit ipv6_packet_cleanup(void) void ipv6_packet_cleanup(void)
{ {
dev_remove_pack(&ipv6_packet_type); dev_remove_pack(&ipv6_packet_type);
} }
...@@ -2116,7 +2116,7 @@ void __init ip6_route_init(void) ...@@ -2116,7 +2116,7 @@ void __init ip6_route_init(void)
#endif #endif
} }
void __exit ip6_route_cleanup(void) void ip6_route_cleanup(void)
{ {
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
proc_net_remove("ipv6_route"); proc_net_remove("ipv6_route");
......
...@@ -276,7 +276,7 @@ static void __init xfrm6_policy_init(void) ...@@ -276,7 +276,7 @@ static void __init xfrm6_policy_init(void)
xfrm_policy_register_afinfo(&xfrm6_policy_afinfo); xfrm_policy_register_afinfo(&xfrm6_policy_afinfo);
} }
static void __exit xfrm6_policy_fini(void) static void xfrm6_policy_fini(void)
{ {
xfrm_policy_unregister_afinfo(&xfrm6_policy_afinfo); xfrm_policy_unregister_afinfo(&xfrm6_policy_afinfo);
} }
...@@ -287,7 +287,7 @@ void __init xfrm6_init(void) ...@@ -287,7 +287,7 @@ void __init xfrm6_init(void)
xfrm6_state_init(); xfrm6_state_init();
} }
void __exit xfrm6_fini(void) void xfrm6_fini(void)
{ {
//xfrm6_input_fini(); //xfrm6_input_fini();
xfrm6_policy_fini(); xfrm6_policy_fini();
......
...@@ -129,7 +129,7 @@ void __init xfrm6_state_init(void) ...@@ -129,7 +129,7 @@ void __init xfrm6_state_init(void)
xfrm_state_register_afinfo(&xfrm6_state_afinfo); xfrm_state_register_afinfo(&xfrm6_state_afinfo);
} }
void __exit xfrm6_state_fini(void) void xfrm6_state_fini(void)
{ {
xfrm_state_unregister_afinfo(&xfrm6_state_afinfo); xfrm_state_unregister_afinfo(&xfrm6_state_afinfo);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment