Skip to content

Commit

Permalink
hfsplus: remove unnecessary oom message
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Zhen Lei <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Zhen Lei authored and torvalds committed Jul 1, 2021
1 parent f4048e5 commit 7dcae11
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/hfsplus/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7dcae11

Please sign in to comment.