From 814c680c3920e6b086796a4ce1299d6d21754d38 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Mon, 27 Mar 2023 19:34:00 +0100 Subject: Remove an unused structure. This removes an unused structure from src/nxt_var.c that would have been changed to switch to using nxt_bool_t for boolean values in a subsequent commit. Reviewed-by: Alejandro Colomar Signed-off-by: Andrew Clayton --- src/nxt_var.c | 16 ---------------- src/nxt_var.h | 1 - 2 files changed, 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, -- cgit