VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Alexey Dobriyan <adobriyan@gmail.com> 2006-09-27 01:49:40 -0700 committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-09-27 08:26:10 -0700 commit: 1a1d92c10dd24bbdc28b3d6e2d03ec199dd3a65b parent: f52720ca5f48574e347dff35ffe6b389ace61537
Commit Summary:
[PATCH] Really ignore kmem_cache_destroy return value
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/fs/adfs/super.c b/fs/adfs/super.c
index 959dbf1f8e63..9ade139086fc 100644
--- a/fs/adfs/super.c
+++ b/fs/adfs/super.c
@@ -251,8 +251,7 @@ static int init_inodecache(void)
 
 static void destroy_inodecache(void)
 {
-	if (kmem_cache_destroy(adfs_inode_cachep))
-		printk(KERN_INFO "adfs_inode_cache: not all structures were freed\n");
+	kmem_cache_destroy(adfs_inode_cachep);
 }
 
 static struct super_operations adfs_sops = {