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:
parent
14bdd21e0a
commit
3383331d06
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user