From 560047307d7ac72fd8281e206b10dda7fe6cbdbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Wed, 4 Jun 2025 17:43:34 +0200 Subject: [PATCH] Remove .hi_called member of isc_mem_t structure The .hi_called member was dead structure member and it hasn't been used since the overmem callback has been removed in commit 14bdd21e0a7ad5f115bb2427d4f88fe7a84e9324. --- lib/isc/mem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/isc/mem.c b/lib/isc/mem.c index 00137c14d0..bb2805c1b4 100644 --- a/lib/isc/mem.c +++ b/lib/isc/mem.c @@ -120,7 +120,6 @@ struct isc_mem { isc_refcount_t references; char *name; atomic_size_t inuse; - atomic_bool hi_called; atomic_bool is_overmem; atomic_size_t hi_water; atomic_size_t lo_water; @@ -428,7 +427,6 @@ mem_create(const char *name, isc_mem_t **ctxp, unsigned int debugging, atomic_init(&ctx->inuse, 0); atomic_init(&ctx->hi_water, 0); atomic_init(&ctx->lo_water, 0); - atomic_init(&ctx->hi_called, false); atomic_init(&ctx->is_overmem, false); ISC_LIST_INIT(ctx->pools);