Merge tag 'tty-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[linux-2.6-microblaze.git] / net / ipv4 / ah4.c
index 9c3afd5..974179b 100644 (file)
@@ -590,8 +590,7 @@ static void __exit ah4_fini(void)
 {
        if (xfrm4_protocol_deregister(&ah4_protocol, IPPROTO_AH) < 0)
                pr_info("%s: can't remove protocol\n", __func__);
-       if (xfrm_unregister_type(&ah_type, AF_INET) < 0)
-               pr_info("%s: can't remove xfrm type\n", __func__);
+       xfrm_unregister_type(&ah_type, AF_INET);
 }
 
 module_init(ah4_init);