From 8898662268778a8dde305719564c456c56c54857 Mon Sep 17 00:00:00 2001 From: Markus Elfring Date: Fri, 18 Aug 2017 21:41:24 +0200 Subject: [PATCH] isofs: Delete an error message for a failed memory allocation in isofs_read_inode() Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Jan Kara --- fs/isofs/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index 217a5e7815da..2d3f090944df 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c @@ -1321,7 +1321,6 @@ static int isofs_read_inode(struct inode *inode, int relocated) tmpde = kmalloc(de_len, GFP_KERNEL); if (tmpde == NULL) { - printk(KERN_INFO "%s: out of memory\n", __func__); ret = -ENOMEM; goto fail; } -- 2.20.1