Skip to contentSkip to conversation

hfsplus: remove unnecessary oom message

PATCH Applied Zhen Lei 1 participant 1 message Jun 17, 2021

Subsystems (2)
lore
Share & tools
lore

Zhen Lei

author
#0 lore raw

PATCH 1/1 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.

---
 fs/hfsplus/xattr.c | 1 -
 1 file changed, 1 deletion(-)
fs/hfsplus/xattr.c +0 -1
index e18a472ac937..b21811baab0f 100644
@@ -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;
 	}
Signature · 1 line
2.25.1