@@ -731,11 +731,12 @@ void ucp_request_purge_enqueue_cb(uct_pending_req_t *self, void *arg)
731731
732732ucs_status_t ucp_request_progress_counter (uct_pending_req_t * self )
733733{
734- ucp_request_t * req = ucs_container_of (self , ucp_request_t , send .uct );
734+ ucp_request_t * req = ucs_container_of (self , ucp_request_t ,
735+ send .uct );
735736 ucp_proto_config_t * proto_config = ucs_const_cast (ucp_proto_config_t * ,
736737 req -> send .proto_config );
737738 const ucp_proto_t * proto = proto_config -> proto ;
738- unsigned proto_usage_count_max =
739+ unsigned proto_usage_count_max =
739740 req -> send .ep -> worker -> context -> config .ext .proto_usage_count_max ;
740741 ucs_status_t status ;
741742
@@ -800,9 +801,8 @@ ucs_status_t ucp_request_progress_wrapper(uct_pending_req_t *self)
800801 return status ;
801802}
802803
803- void ucp_request_init_progress_wrapper (ucp_worker_h worker ,
804- ucp_proto_config_t * proto_config ,
805- int internal )
804+ void ucp_request_progress_wrapper_init (ucp_worker_h worker ,
805+ ucp_proto_config_t * proto_config )
806806{
807807 uint8_t stage ;
808808
@@ -820,7 +820,6 @@ void ucp_request_init_progress_wrapper(ucp_worker_h worker,
820820 sizeof (proto_config -> progress_wrapper ));
821821
822822 if (worker -> context -> config .trace_used_proto_selections ) {
823- /* Set counting wrapper for the first stage */
824823 proto_config -> progress_wrapper [UCP_PROTO_STAGE_START ] =
825824 ucp_request_progress_counter ;
826825 }
0 commit comments