summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/orangefs-mod.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-08-17 21:00:07 +0200
committerMike Marshall <hubcap@omnibond.com>2017-09-14 14:58:29 -0400
commit07a258531c7550f8bb481dfe2ec12bb876224487 (patch)
tree2558baccb7239c3c6d1f4167434e24637dd49dfb /fs/orangefs/orangefs-mod.c
parent121744440582004a1751c688a2622e5dfeaae09d (diff)
downloadop-kernel-dev-07a258531c7550f8bb481dfe2ec12bb876224487.zip
op-kernel-dev-07a258531c7550f8bb481dfe2ec12bb876224487.tar.gz
orangefs: Delete error messages for a failed memory allocation in five functions
Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-mod.c')
-rw-r--r--fs/orangefs/orangefs-mod.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/orangefs/orangefs-mod.c b/fs/orangefs/orangefs-mod.c
index c1b5174..85ef872 100644
--- a/fs/orangefs/orangefs-mod.c
+++ b/fs/orangefs/orangefs-mod.c
@@ -98,7 +98,6 @@ static int __init orangefs_init(void)
orangefs_htable_ops_in_progress =
kcalloc(hash_table_size, sizeof(struct list_head), GFP_KERNEL);
if (!orangefs_htable_ops_in_progress) {
- gossip_err("Failed to initialize op hashtable");
ret = -ENOMEM;
goto cleanup_inode;
}
OpenPOWER on IntegriCloud