mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
hfsplus: remove unnecessary oom message
Fixes scripts/checkpatch.pl warning: WARNING: Possible unnecessary 'out of memory' message Remove it can help us save a bit of memory. Link: https://lkml.kernel.org/r/20210617084944.1279-1-thunder.leizhen@huawei.com Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f4048e5aa1
commit
7dcae11f4c
@ -204,7 +204,6 @@ check_attr_tree_state_again:
|
||||
|
||||
buf = kzalloc(node_size, GFP_NOFS);
|
||||
if (!buf) {
|
||||
pr_err("failed to allocate memory for header node\n");
|
||||
err = -ENOMEM;
|
||||
goto end_attr_file_creation;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user