]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/ipv4/esp4_offload.c
Merge tag 'tty-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
[linux.git] / net / ipv4 / esp4_offload.c
index 2e5e377f50a18ae449f7586eddf63b6fa08fe7ff..0e4a7cf6bc87d2b026d32172f6fbebc673548f90 100644 (file)
@@ -312,9 +312,7 @@ static int __init esp4_offload_init(void)
 
 static void __exit esp4_offload_exit(void)
 {
-       if (xfrm_unregister_type_offload(&esp_type_offload, AF_INET) < 0)
-               pr_info("%s: can't remove xfrm type offload\n", __func__);
-
+       xfrm_unregister_type_offload(&esp_type_offload, AF_INET);
        inet_del_offload(&esp4_offload, IPPROTO_ESP);
 }