CLEANUP: haproxy/threads: don't check global_tasks_mask twice
authorWilly Tarreau <w@1wt.eu>
Mon, 23 Mar 2020 08:33:32 +0000 (09:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 Mar 2020 08:33:32 +0000 (09:33 +0100)
commit95abd5be9f9b6480ae102f76cdfffab267cdab22
tree02e141870140d538ff47500d035f450facb810a8
parent4f46a354e67f4a7781570f6f4e17738eeca9d5ac
CLEANUP: haproxy/threads: don't check global_tasks_mask twice

In run_thread_poll_loop() we test both for (global_tasks_mask & tid_bit)
and thread_has_tasks(), but the former is useless since this test is
already part of the latter.
src/haproxy.c