Skip to content

Commit cccee45

Browse files
authored
Merge pull request #10739 from tvegas1/ucp_memh_spare_array
UCP/MM: Remove deprecated function
2 parents 9d89106 + 9ccbdf0 commit cccee45

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/ucp/core/ucp_mm.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -240,16 +240,6 @@ ucp_rkey_packed_mem_type(const void *rkey_buffer)
240240
return (ucs_memory_type_t)(*(uint8_t *)((const ucp_md_map_t*)rkey_buffer + 1));
241241
}
242242

243-
static UCS_F_ALWAYS_INLINE uct_mem_h
244-
ucp_memh_map2uct(const uct_mem_h *uct, ucp_md_map_t md_map, ucp_md_index_t md_idx)
245-
{
246-
if (!(md_map & UCS_BIT(md_idx))) {
247-
return UCT_MEM_HANDLE_NULL;
248-
}
249-
250-
return uct[ucs_bitmap2idx(md_map, md_idx)];
251-
}
252-
253243
static UCS_F_ALWAYS_INLINE void *ucp_memh_address(const ucp_mem_h memh)
254244
{
255245
return (void*)memh->super.super.start;

0 commit comments

Comments
 (0)