From df421e36b368c9595e8adedc078b69f3f0c2466b Mon Sep 17 00:00:00 2001 From: Zhidao HONG Date: Tue, 7 Jun 2022 13:43:38 +0800 Subject: Router: removed unused code in nxt_router_conf_error(). No functional changes. --- src/nxt_router.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/nxt_router.c') 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) { -- cgit