Skip to content

Commit

Permalink
REVIEW: fix review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei-Lebedev committed Feb 22, 2024
1 parent a2d1c5b commit 00b95e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/core/ucc_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ typedef struct ucc_context {
ucc_context_topo_t *topo;
uint64_t cl_flags;
ucc_tl_team_t *service_team;

int32_t throttle_progress;
} ucc_context_t;

Expand Down
4 changes: 2 additions & 2 deletions src/core/ucc_progress_queue_mt.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ static int ucc_pq_locked_mt_is_empty(ucc_progress_queue_t *pq)
{
ucc_pq_mt_locked_t *pq_mt = ucc_derived_of(pq, ucc_pq_mt_locked_t);

/* this function should not be very accurate for the purpose of progress throttling */
/* this function should not be very accurate for the purpose of progress throttling */
return ucc_list_is_empty(&pq_mt->queue);
}

static int ucc_pq_mt_is_empty(ucc_progress_queue_t *pq) //NOLINT: pq is unused
{
/* lock free progress queue never use throttling */
/* lock free progress queue never use throttling */
return 0;
}

Expand Down

0 comments on commit 00b95e8

Please sign in to comment.