Skip to content

Commit 69e6965

Browse files
samuelkgutierrezrhc54
authored andcommitted
Remove unnecessary function call in pmix_gds_hash_fetch().
Remove an unnecessary call to pmix_gds_hash_get_tracker() in pmix_gds_hash_fetch(). The job tracker had already been acquired beforehand. Signed-off-by: Samuel K. Gutierrez <[email protected]>
1 parent 6c2e4f4 commit 69e6965

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/mca/gds/hash/gds_fetch.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* and Technology (RIST). All rights reserved.
66
* Copyright (c) 2018-2020 Mellanox Technologies, Inc.
77
* All rights reserved.
8-
*
98
* Copyright (c) 2021-2022 Nanook Consulting All rights reserved.
9+
* Copyright (c) 2022 Triad National Security, LLC. All rights reserved.
1010
* $COPYRIGHT$
1111
*
1212
* Additional copyrights may follow
@@ -640,12 +640,6 @@ pmix_status_t pmix_gds_hash_fetch(const pmix_proc_t *proc, pmix_scope_t scope, b
640640
}
641641
}
642642

643-
/* find the hash table for this nspace */
644-
trk = pmix_gds_hash_get_tracker(proc->nspace, false);
645-
if (NULL == trk) {
646-
return PMIX_ERR_INVALID_NAMESPACE;
647-
}
648-
649643
if (!PMIX_RANK_IS_VALID(proc->rank)) {
650644
if (nodeinfo) {
651645
rc = pmix_gds_hash_fetch_nodeinfo(key, trk, &trk->nodeinfo, qualifiers, nqual, kvs);

0 commit comments

Comments
 (0)