diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-07-01 03:56:37 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-07-01 20:06:06 +0200 |
commit | 7dcae11f4c5862be62443dabe94e10a07b5639fc (patch) | |
tree | 4d0f502e5365e450f74bf8fdf1211bfb6b004f90 /fs/hfsplus/xattr.c | |
parent | nilfs2: remove redundant continue statement in a while-loop (diff) | |
download | linux-7dcae11f4c5862be62443dabe94e10a07b5639fc.tar.xz linux-7dcae11f4c5862be62443dabe94e10a07b5639fc.zip |
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>
Diffstat (limited to 'fs/hfsplus/xattr.c')
-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; } |