@@ -358,7 +358,9 @@ static inline int get_dynamic_win_info(uint64_t remote_addr,
358358 free (temp_buf );
359359
360360 /* unlock the dynamic lock */
361- return ompi_osc_ucx_dynamic_unlock (module , target );
361+ ompi_osc_ucx_dynamic_unlock (module , target );
362+
363+ return ret ;
362364}
363365
364366static inline
@@ -841,7 +843,6 @@ static inline int ompi_osc_ucx_acc_rputget(void *stage_addr, int stage_count,
841843 ompi_osc_ucx_accumulate_request_t * ucx_req = NULL ;
842844 bool sync_check ;
843845 int ret = OMPI_SUCCESS ;
844- CHECK_DYNAMIC_WIN (remote_addr , module , target , ret );
845846
846847 if (acc_type != NONE ) {
847848 OMPI_OSC_UCX_ACCUMULATE_REQUEST_ALLOC (win , ucx_req );
@@ -1392,8 +1393,6 @@ int ompi_osc_ucx_rput(const void *origin_addr, int origin_count,
13921393 return ret ;
13931394 }
13941395
1395- CHECK_DYNAMIC_WIN (remote_addr , module , target , ret );
1396-
13971396 ret = ompi_osc_ucx_put (origin_addr , origin_count , origin_dt , target , target_disp ,
13981397 target_count , target_dt , win );
13991398 if (ret != OMPI_SUCCESS ) {
@@ -1448,8 +1447,6 @@ int ompi_osc_ucx_rget(void *origin_addr, int origin_count,
14481447 return ret ;
14491448 }
14501449
1451- CHECK_DYNAMIC_WIN (remote_addr , module , target , ret );
1452-
14531450 ret = ompi_osc_ucx_get (origin_addr , origin_count , origin_dt , target , target_disp ,
14541451 target_count , target_dt , win );
14551452 if (ret != OMPI_SUCCESS ) {
0 commit comments