summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/nxt_var.c16
-rw-r--r--src/nxt_var.h1
2 files changed, 0 insertions, 17 deletions
diff --git a/src/nxt_var.c b/src/nxt_var.c
index e113969f..f814f289 100644
--- a/src/nxt_var.c
+++ b/src/nxt_var.c
@@ -25,22 +25,6 @@ typedef struct {
} nxt_var_sub_t;
-struct nxt_var_query_s {
- nxt_mp_t *pool;
-
- nxt_var_cache_t cache;
-
- nxt_uint_t waiting;
- nxt_uint_t failed; /* 1 bit */
-
- void *ctx;
- void *data;
-
- nxt_work_handler_t ready;
- nxt_work_handler_t error;
-};
-
-
#define nxt_var_subs(var) ((nxt_var_sub_t *) (var)->data)
#define nxt_var_raw_start(var) \
diff --git a/src/nxt_var.h b/src/nxt_var.h
index ab25800d..545c8d8d 100644
--- a/src/nxt_var.h
+++ b/src/nxt_var.h
@@ -8,7 +8,6 @@
typedef struct nxt_var_s nxt_var_t;
-typedef struct nxt_var_query_s nxt_var_query_t;
typedef nxt_int_t (*nxt_var_handler_t)(nxt_task_t *task,