* [PATCH 1/1] hfsplus: remove unnecessary oom message
@ 2021-06-17 8:49 Zhen Lei
0 siblings, 0 replies; only message in thread
From: Zhen Lei @ 2021-06-17 8:49 UTC (permalink / raw)
To: Andrew Morton, Stephen Rothwell, Jens Axboe, linux-fsdevel; +Cc: Zhen Lei
Fixes scripts/checkpatch.pl warning:
WARNING: Possible unnecessary 'out of memory' message
Remove it can help us save a bit of memory.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
fs/hfsplus/xattr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/hfsplus/xattr.c b/fs/hfsplus/xattr.c
index e18a472ac937..b21811baab0f 100644
--- a/fs/hfsplus/xattr.c
+++ b/fs/hfsplus/xattr.c
@@ -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;
}
--
2.25.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-17 8:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 8:49 [PATCH 1/1] hfsplus: remove unnecessary oom message Zhen Lei
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.