commit | a868c2920bf1f85858bf389ab182ef2f07d33e1b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 30 15:30:22 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 30 18:17:44 2020 +0100 |
tree | 9bff23779b6b6112078ba511e76701f5e20cc220 | |
parent | 1f05324cbe92a7dde71f44dc740eb8240539746f [diff] |
MINOR: task: remove tasklet_insert_into_tasklet_list() This function is only called at a single place and adds more confusion than it removes. It also makes one think it could be used outside of the scheduler while it must absolutely not. Let's just move its two lines to the call place, making the code more readable there. In addition this clearly shows that the preliminary LIST_INIT() is useless since the entry is immediately overwritten.