[PATCH] Really ignore kmem_cache_destroy return value
[linux-2.6-block.git] / fs / nfs / write.c
index c12effb46fe50df5ff959455de5fcb1f2c75533e..b674462793d3375cf2adab2d642a8526e956fa0d 100644 (file)
@@ -1565,7 +1565,6 @@ void nfs_destroy_writepagecache(void)
 {
        mempool_destroy(nfs_commit_mempool);
        mempool_destroy(nfs_wdata_mempool);
-       if (kmem_cache_destroy(nfs_wdata_cachep))
-               printk(KERN_INFO "nfs_write_data: not all structures were freed\n");
+       kmem_cache_destroy(nfs_wdata_cachep);
 }