Skip to content

Commit

Permalink
libtpool: remove useless CSTYLED
Browse files Browse the repository at this point in the history
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes openzfs#12968
  • Loading branch information
nabijaczleweli authored and nicman23 committed Aug 22, 2022
1 parent 2f3c9fd commit 47c815f
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 47c815f

Please sign in to comment.