summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ipcomp.c')
-rw-r--r--net/ipv4/ipcomp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/ipcomp.c b/net/ipv4/ipcomp.c
index 2f4cdcc13d53..59bfa3825810 100644
--- a/net/ipv4/ipcomp.c
+++ b/net/ipv4/ipcomp.c
@@ -186,8 +186,7 @@ static void __exit ipcomp4_fini(void)
186{ 186{
187 if (xfrm4_protocol_deregister(&ipcomp4_protocol, IPPROTO_COMP) < 0) 187 if (xfrm4_protocol_deregister(&ipcomp4_protocol, IPPROTO_COMP) < 0)
188 pr_info("%s: can't remove protocol\n", __func__); 188 pr_info("%s: can't remove protocol\n", __func__);
189 if (xfrm_unregister_type(&ipcomp_type, AF_INET) < 0) 189 xfrm_unregister_type(&ipcomp_type, AF_INET);
190 pr_info("%s: can't remove xfrm type\n", __func__);
191} 190}
192 191
193module_init(ipcomp4_init); 192module_init(ipcomp4_init);