summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_router.c')
-rw-r--r--src/nxt_router.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nxt_router.c b/src/nxt_router.c
index 3a32a363..48547a75 100644
--- a/src/nxt_router.c
+++ b/src/nxt_router.c
@@ -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) {