]> Pileus Git - ~andy/linux/blobdiff - fs/fat/cache.c
[PATCH] Really ignore kmem_cache_destroy return value
[~andy/linux] / fs / fat / cache.c
index 97b967b84fc6070b7efc47887345a8e574f5d147..82cc4f59e3bae3302abd291b392eccb90f4e1be4 100644 (file)
@@ -58,8 +58,7 @@ int __init fat_cache_init(void)
 
 void fat_cache_destroy(void)
 {
-       if (kmem_cache_destroy(fat_cache_cachep))
-               printk(KERN_INFO "fat_cache: not all structures were freed\n");
+       kmem_cache_destroy(fat_cache_cachep);
 }
 
 static inline struct fat_cache *fat_cache_alloc(struct inode *inode)