From: Zhen Lei Date: Thu, 1 Jul 2021 01:56:37 +0000 (-0700) Subject: hfsplus: remove unnecessary oom message X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7dcae11f4c5862be62443dabe94e10a07b5639fc;p=linux.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/hfsplus/xattr.c b/fs/hfsplus/xattr.c index 4d169c5a26732..e2855ceefd394 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; }