From ab305c4aab87c065298c34c01e5cdbecc645071f Mon Sep 17 00:00:00 2001 From: Thomas Vegas Date: Tue, 14 May 2024 14:25:48 +0300 Subject: [PATCH] Address review comments --- src/ucx_uct_plugin.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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);