ibcm_hca_detach
(void) ibcm_hca_detach(hcap);
static ibcm_status_t ibcm_hca_detach(ibcm_hca_info_t *);
if (ibcm_hca_detach(hcap) != IBCM_SUCCESS) {