diff --git a/src/nccl_ofi_topo.c b/src/nccl_ofi_topo.c index 3deffe13d..6b2a5ff1b 100644 --- a/src/nccl_ofi_topo.c +++ b/src/nccl_ofi_topo.c @@ -435,9 +435,6 @@ static int set_userdata_to_root(hwloc_obj_t node, /* Walk upwards to the root */ while (node) { if (!node->userdata) { - /* Abort when a node is reached that already stores user data */ - if (node->userdata) break; - user_data = nccl_ofi_get_user_data(data_iter); if (!user_data) { NCCL_OFI_WARN("Failed to access user data of data_iter");