projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c625426
)
fs/befs/linuxvfs.c: remove useless befs_error
author
Salah Triki
<salah.triki@acm.org>
Sat, 23 Jul 2016 12:36:41 +0000
(22:36 +1000)
committer
Luis de Bethencourt
<luisbg@osg.samsung.com>
Sat, 8 Oct 2016 09:01:10 +0000
(10:01 +0100)
Remove befs_error since when kmalloc fails there is a generic out of
memory and stack dump.
Link:
http://lkml.kernel.org/r/3de4d388d98bbb570462a5eb8e64623e17fb5d74.1464226521.git.salah.triki@acm.org
Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/befs/linuxvfs.c
patch
|
blob
|
history
diff --git
a/fs/befs/linuxvfs.c
b/fs/befs/linuxvfs.c
index
5b47b0f
..
04541f3
100644
(file)
--- a/
fs/befs/linuxvfs.c
+++ b/
fs/befs/linuxvfs.c
@@
-524,7
+524,6
@@
befs_utf2nls(struct super_block *sb, const char *in,
*out = result = kmalloc(maxlen, GFP_NOFS);
if (!*out) {
- befs_error(sb, "%s cannot allocate memory", __func__);
*out_len = 0;
return -ENOMEM;
}
@@
-604,7
+603,6
@@
befs_nls2utf(struct super_block *sb, const char *in,
*out = result = kmalloc(maxlen, GFP_NOFS);
if (!*out) {
- befs_error(sb, "%s cannot allocate memory", __func__);
*out_len = 0;
return -ENOMEM;
}