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-Url: https://git.stricted.de/?a=commitdiff_plain;h=8898662268778a8dde305719564c456c56c54857;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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; }