aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/sunrpc_syms.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/sunrpc_syms.c')
-rw-r--r--net/sunrpc/sunrpc_syms.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/net/sunrpc/sunrpc_syms.c b/net/sunrpc/sunrpc_syms.c
index 1a7e309d008b..ef7dc78e2c7b 100644
--- a/net/sunrpc/sunrpc_syms.c
+++ b/net/sunrpc/sunrpc_syms.c
@@ -98,10 +98,8 @@ cleanup_sunrpc(void)
98 cleanup_socket_xprt(); 98 cleanup_socket_xprt();
99 unregister_rpc_pipefs(); 99 unregister_rpc_pipefs();
100 rpc_destroy_mempool(); 100 rpc_destroy_mempool();
101 if (cache_unregister(&ip_map_cache)) 101 cache_unregister(&ip_map_cache);
102 printk(KERN_ERR "sunrpc: failed to unregister ip_map cache\n"); 102 cache_unregister(&unix_gid_cache);
103 if (cache_unregister(&unix_gid_cache))
104 printk(KERN_ERR "sunrpc: failed to unregister unix_gid cache\n");
105#ifdef RPC_DEBUG 103#ifdef RPC_DEBUG
106 rpc_unregister_sysctl(); 104 rpc_unregister_sysctl();
107#endif 105#endif