Router: removed unused code in nxt_router_conf_error().
No functional changes.
@@ -1229,7 +1229,6 @@ static void
nxt_router_conf_error(nxt_task_t *task, nxt_router_temp_conf_t *tmcf)
{
nxt_app_t *app;
- nxt_queue_t new_socket_confs;
nxt_socket_t s;
nxt_router_t *router;
nxt_queue_link_t *qlk;
@@ -1252,11 +1251,6 @@ nxt_router_conf_error(nxt_task_t *task, nxt_router_temp_conf_t *tmcf)
nxt_free(skcf->listen);
}
- nxt_queue_init(&new_socket_confs);
- nxt_queue_add(&new_socket_confs, &updating_sockets);
- nxt_queue_add(&new_socket_confs, &pending_sockets);
- nxt_queue_add(&new_socket_confs, &creating_sockets);
-
rtcf = tmcf->router_conf;
nxt_queue_each(app, &tmcf->apps, nxt_app_t, link) {
