]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: pollers: remove dead code in the polling loop
authorWilly Tarreau <w@1wt.eu>
Mon, 12 Sep 2022 07:35:44 +0000 (09:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Sep 2022 07:35:44 +0000 (09:35 +0200)
commitaf985e0151c7d12d9dac4fc364b5c50d3db1e1db
tree2951352485287a464bcafaafeb7805b88b0802dc
parent62bde43779b51b98c7d2ba8e9f34dca5897a3030
CLEANUP: pollers: remove dead code in the polling loop

As reported by Ilya and Coverity in issue #1858, since recent commit
eea152ee6 ("BUG/MINOR: signals/poller: ensure wakeup from signals")
which removed the test for the global signal flag from the pollers'
loop, the remaining "wake" flag doesn't need to be tested since it
already participates to zeroing the wait_time and will be caught
on the previous line.

Let's just remove that test now.
src/ev_epoll.c
src/ev_evports.c
src/ev_kqueue.c