]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
isofs: Delete an error message for a failed memory allocation in isofs_read_inode()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 18 Aug 2017 19:41:24 +0000 (21:41 +0200)
committerJan Kara <jack@suse.cz>
Mon, 21 Aug 2017 14:05:48 +0000 (16:05 +0200)
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>
fs/isofs/inode.c

index 217a5e7815da6a896daeddb53d8200dcba56a303..2d3f090944dfd2b61c6c713fe08b54997262eb5f 100644 (file)
@@ -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;
                }