Skip to content

Commit 138897b

Browse files
committed
UCP/DEVICE: Remove redundant UCP_EP_FLAG_REMOTE_CONNECTED check
1 parent 7910cb9 commit 138897b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/ucp/core/ucp_device.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -539,15 +539,6 @@ ucp_device_mem_list_create(ucp_ep_h ep,
539539
ucp_ep_config_t *ep_config;
540540
uct_allocated_memory_t mem;
541541

542-
if (!(ep->flags & UCP_EP_FLAG_REMOTE_CONNECTED)) {
543-
/*
544-
* Do not log error here because UCS_ERR_NOT_CONNECTED is expected
545-
* during connection establishment. Applications are expected to retry
546-
* with progress.
547-
*/
548-
return UCS_ERR_NOT_CONNECTED;
549-
}
550-
551542
/* Parameter sanity checks and extraction */
552543
status = ucp_device_mem_list_params_check(ep->worker->context, params,
553544
&rkey_cfg_index, &local_sys_dev,

0 commit comments

Comments
 (0)