mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
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>
This commit is contained in:
parent
1217444405
commit
07a258531c
5 changed files with 6 additions and 19 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue