2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

Cleanup unused stats_bucket() macro

This commit is contained in:
Ondřej Surý 2023-11-29 10:21:26 +01:00
parent 14bdd21e0a
commit 3383331d06
No known key found for this signature in database
GPG Key ID: 2820F37E873DEA41

View File

@ -350,11 +350,6 @@ mem_realloc(isc_mem_t *ctx, void *old_ptr, size_t old_size, size_t new_size,
return (new_ptr);
}
#define stats_bucket(ctx, size) \
((size / STATS_BUCKET_SIZE) >= STATS_BUCKETS \
? &ctx->stats[STATS_BUCKETS] \
: &ctx->stats[size / STATS_BUCKET_SIZE])
/*!
* Update internal counters after a memory get.
*/