MINOR: task: do not use __task_unlink_rq() from process_runnable_tasks()
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Feb 2021 06:14:58 +0000 (07:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 25 Feb 2021 08:44:16 +0000 (09:44 +0100)
commit2b363ac092102509a297dfe9e5606a63a76d2cc8
tree0cc0e37443d175fdcde35d0098a24a64958dc281
parente7923c1d22a5eb830f419ca0d76d2f7fa2ee9930
MINOR: task: do not use __task_unlink_rq() from process_runnable_tasks()

As indicated in previous commit, this function tries to guess which tree
the task is in to figure what counters to update, while we already have
that info in the caller. Let's just pick the relevant parts to place them
in the caller.
src/task.c