diff --git a/src/ucx_uct_plugin.c b/src/ucx_uct_plugin.c index f6196ab4..52d1dce3 100644 --- a/src/ucx_uct_plugin.c +++ b/src/ucx_uct_plugin.c @@ -309,11 +309,8 @@ static uct_iface_h nccl_uct_resource_iface_open(uct_worker_h worker, status = uct_iface_open(md, worker, ¶ms, config, &iface); uct_config_release(config); - if (status != UCS_OK) { - WARN("Failed to open iface %s/%s: error %d", tl->tl_name, tl->dev_name, - status); - return NULL; - } + UCXCHECK(status, return NULL, "open UCT iface %s/%s", + tl->tl_name, tl->dev_name); uct_iface_progress_enable(iface, UCT_PROGRESS_SEND | UCT_PROGRESS_RECV);