Skip to content

Commit

Permalink
libtpool: remove useless CSTYLED
Browse files Browse the repository at this point in the history
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
  • Loading branch information
nabijaczleweli committed Jan 12, 2022
1 parent 3cb81be commit 5079d4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/libtpool/thread_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ job_cleanup(void *arg)
tpool_active_t **activepp;

pthread_mutex_lock(&tpool->tp_mutex);
/* CSTYLED */
for (activepp = &tpool->tp_active;; activepp = &activep->tpa_next) {
for (activepp = &tpool->tp_active; ; activepp = &activep->tpa_next) {
activep = *activepp;
if (activep->tpa_tid == my_tid) {
*activepp = activep->tpa_next;
Expand Down

0 comments on commit 5079d4e

Please sign in to comment.