summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_controller.c')
-rw-r--r--src/nxt_controller.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index 28f0425b..29838bd9 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -132,19 +132,11 @@ nxt_controller_start(nxt_task_t *task, void *data)
nxt_str_t *json;
nxt_runtime_t *rt;
nxt_conf_value_t *conf;
- nxt_event_engine_t *engine;
nxt_conf_validation_t vldt;
nxt_controller_init_t *init;
rt = task->thread->runtime;
- engine = task->thread->engine;
-
- engine->mem_pool = nxt_mp_create(4096, 128, 1024, 64);
- if (nxt_slow_path(engine->mem_pool == NULL)) {
- return NXT_ERROR;
- }
-
ret = nxt_http_fields_hash(&nxt_controller_fields_hash, rt->mem_pool,
nxt_controller_request_fields,
nxt_nitems(nxt_controller_request_fields));