]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfsd/nfs4idmap.c
knfsd: cache unregistration needn't return error
[linux-2.6-omap-h63xx.git] / fs / nfsd / nfs4idmap.c
index 5b56c77c15c568b362526bbf9c6338daf29fe0a9..ef22179c49ad6f768303c8c946fe4211acaf516b 100644 (file)
@@ -474,10 +474,8 @@ nfsd_idmap_init(void)
 void
 nfsd_idmap_shutdown(void)
 {
-       if (cache_unregister(&idtoname_cache))
-               printk(KERN_ERR "nfsd: failed to unregister idtoname cache\n");
-       if (cache_unregister(&nametoid_cache))
-               printk(KERN_ERR "nfsd: failed to unregister nametoid cache\n");
+       cache_unregister(&idtoname_cache);
+       cache_unregister(&nametoid_cache);
 }
 
 /*