diff options
author | Zhen Lei <[email protected]> | 2021-06-30 18:56:37 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-07-01 11:06:06 -0700 |
commit | 7dcae11f4c5862be62443dabe94e10a07b5639fc (patch) | |
tree | 4d0f502e5365e450f74bf8fdf1211bfb6b004f90 | |
parent | f4048e5aa148b13da84132cc23b6503b626e2576 (diff) |
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/[email protected]
Signed-off-by: Zhen Lei <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | fs/hfsplus/xattr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/hfsplus/xattr.c b/fs/hfsplus/xattr.c index 4d169c5a2673..e2855ceefd39 100644 --- a/fs/hfsplus/xattr.c +++ b/fs/hfsplus/xattr.c @@ -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; } |