summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2022-06-07 13:43:38 +0800
committerZhidao HONG <z.hong@f5.com>2022-06-07 13:43:38 +0800
commitdf421e36b368c9595e8adedc078b69f3f0c2466b (patch)
treefdd04eec2732bc535b3a119374c31d2395ee884c
parent0d2d40e23192a281adaf88ce436723c8b7f5e9d3 (diff)
downloadunit-df421e36b368c9595e8adedc078b69f3f0c2466b.tar.gz
unit-df421e36b368c9595e8adedc078b69f3f0c2466b.tar.bz2
Router: removed unused code in nxt_router_conf_error().
No functional changes.
-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) {