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);
|
HA_RWLOCK_WRLOCK(LISTENER_LOCK, &global_listener_rwlock);
|
||||||
t->expire = TICK_ETERNITY;
|
t->expire = TICK_ETERNITY;
|
||||||
HA_RWLOCK_WRUNLOCK(LISTENER_LOCK, &global_listener_rwlock);
|
HA_RWLOCK_WRUNLOCK(LISTENER_LOCK, &global_listener_rwlock);
|
||||||
task_queue(t);
|
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user