mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -204,7 +204,6 @@ static int hfsplus_create_attributes_file(struct super_block *sb)
|
|||
|
||||
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 a new issue