[PATCH] Really ignore kmem_cache_destroy return value
[linux-2.6-block.git] / mm / shmem.c
index 8631be45b40d46304d0dcbc1f398acaf1325beaf..0a8e29cf87e00555ef1fe63c407626879511b8c7 100644 (file)
@@ -2157,8 +2157,7 @@ static int init_inodecache(void)
 
 static void destroy_inodecache(void)
 {
-       if (kmem_cache_destroy(shmem_inode_cachep))
-               printk(KERN_INFO "shmem_inode_cache: not all structures were freed\n");
+       kmem_cache_destroy(shmem_inode_cachep);
 }
 
 static const struct address_space_operations shmem_aops = {