Skip to content

Commit fbad05a

Browse files
committed
UCP: return directly for the ep without configured lanes
Signed-off-by: Changcheng Liu <[email protected]>
1 parent fb94e02 commit fbad05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ucp/wireup/wireup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ ucp_wireup_reclaim_unused_uct_ep(ucp_ep_h ep, ucp_ep_config_key_t *new_key,
975975
ucp_lane_index_t lane;
976976

977977
ucs_assert(new_key->num_lanes > 1);
978-
if (ep->cfg_index == 0) {
978+
if (old_key->num_lanes == 0) {
979979
return;
980980
}
981981

0 commit comments

Comments
 (0)