]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: task: remove impossible test
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Sep 2019 05:02:40 +0000 (07:02 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 24 Sep 2019 09:23:30 +0000 (11:23 +0200)
commit9b48c629f237b8c990a6aca776fb9eda96c3d871
tree2ad3d65ab7b1b7fbf53b5d1e480a43e33b23f26f
parent0f0393fc0d2badc5ea329844691f06ba28827f78
CLEANUP: task: remove impossible test

In process_runnable_task(), after the task's process() function returns,
we used to check if the return is not NULL and is not a tasklet, to update
profiling measurements. This is useless since only tasks can return non-null
here. Let's remove this useless test.
src/task.c