summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-08-18 21:41:24 +0200
committerJan Kara <jack@suse.cz>2017-08-21 16:05:48 +0200
commit8898662268778a8dde305719564c456c56c54857 (patch)
tree03b8e29d4db12cd711c230ca0e1c9480a92f7972
parent434aafb572d24bfef8aade15b59e195f58d9bc34 (diff)
downloadlinux-8898662268778a8dde305719564c456c56c54857.tar.bz2
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 <elfring@users.sourceforge.net> Signed-off-by: Jan Kara <jack@suse.cz>
-rw-r--r--fs/isofs/inode.c1
1 files changed, 0 insertions, 1 deletions
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;
}