mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-20 12:46:56 +00:00
CLEANUP: listener: Remove useless task_queue from manage_global_listener_queue
At the end of manage_global_listener_queue(), the task expire date is set to TICK_ETERNITY. Thus, it is useless to call task_queue() just after because the function does nothing in this case.
This commit is contained in:
parent
13e86d947d
commit
ddfb50eec6
@ -1301,7 +1301,6 @@ struct task *manage_global_listener_queue(struct task *t, void *context, unsigne
|
||||
HA_RWLOCK_WRLOCK(LISTENER_LOCK, &global_listener_rwlock);
|
||||
t->expire = TICK_ETERNITY;
|
||||
HA_RWLOCK_WRUNLOCK(LISTENER_LOCK, &global_listener_rwlock);
|
||||
task_queue(t);
|
||||
return t;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user