diff options
author | Zhidao HONG <z.hong@f5.com> | 2022-06-07 13:43:38 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2022-06-07 13:43:38 +0800 |
commit | df421e36b368c9595e8adedc078b69f3f0c2466b (patch) | |
tree | fdd04eec2732bc535b3a119374c31d2395ee884c | |
parent | 0d2d40e23192a281adaf88ce436723c8b7f5e9d3 (diff) | |
download | unit-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.c | 6 |
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) { |