commit | f656279347ec0901e06329c14729d264ddf6ea39 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 07 19:05:35 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 07 19:08:16 2019 +0200 |
tree | 396c3fa16db66fc300a9f914594b52f54baa6d58 | |
parent | 75bc6d3e59a42fae5e5f197186e72ff587fc4ad3 [diff] |
CLEANUP: task: remove unneeded tests before task_destroy() Since previous commit it's not needed anymore to test a task pointer before calling task_destory() so let's just remove these tests from the various callers before they become confusing. The function's arguments were also documented. The same should probably be done with tasklet_free() which involves a test in roughly half of the call places.