From: Markus Elfring Date: Fri, 18 Aug 2017 19:41:24 +0000 (+0200) Subject: isofs: Delete an error message for a failed memory allocation in isofs_read_inode() X-Git-Tag: v4.14-rc1~104^2~3 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=8898662268778a8dde305719564c456c56c54857;p=linux.git 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 --- 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; }