projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
434aafb
)
isofs: Delete an error message for a failed memory allocation in isofs_read_inode()
author
Markus Elfring
<elfring@users.sourceforge.net>
Fri, 18 Aug 2017 19:41:24 +0000
(21:41 +0200)
committer
Jan 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/isofs/inode.c
b/fs/isofs/inode.c
index 217a5e7815da6a896daeddb53d8200dcba56a303..2d3f090944dfd2b61c6c713fe08b54997262eb5f 100644
(file)
--- 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;
}