mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-14 13:09:14 +02:00
MINOR: task: move the nice field to the struct task only
The nice field isn't needed anymore for the tasklet so we can move it from the TASK_COMMON area into the struct task which already has a hole around the expire entry.
This commit is contained in:
@@ -441,7 +441,6 @@ static inline struct task *task_init(struct task *t, unsigned long thread_mask)
|
||||
*/
|
||||
static inline void tasklet_init(struct tasklet *t)
|
||||
{
|
||||
t->nice = 0;
|
||||
t->calls = 0;
|
||||
t->state = TASK_F_TASKLET;
|
||||
t->process = NULL;
|
||||
|
||||
Reference in New Issue
Block a user