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:
Christopher Faulet 2022-11-17 15:16:10 +01:00
parent 13e86d947d
commit ddfb50eec6

View File

@ -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;
}