mirror of
https://github.com/torvalds/linux
synced 2024-09-06 09:51:23 +00:00
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>
This commit is contained in:
parent
434aafb572
commit
8898662268
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue