From 2fbd945de6891edb8f98aaa0debb2a84ffeffeff Mon Sep 17 00:00:00 2001 From: Zsolt Felfoldi Date: Wed, 30 Oct 2024 08:43:09 +0100 Subject: [PATCH] core/filtermaps: removed unused function --- core/filtermaps/indexer.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/filtermaps/indexer.go b/core/filtermaps/indexer.go index 01b9197b66..f9b34118b9 100644 --- a/core/filtermaps/indexer.go +++ b/core/filtermaps/indexer.go @@ -757,11 +757,6 @@ func (f *FilterMaps) applyUpdateBatch(u *updateBatch) { } } -// updatedRangeLength returns the length of the updated filter map range. -func (u *updateBatch) updatedRangeLength() uint32 { - return u.afterLastMap - u.firstMap -} - // headEpoch returns the head epoch index. func (u *updateBatch) headEpoch() uint32 { return uint32(u.headLvPointer >> (u.f.logValuesPerMap + u.f.logMapsPerEpoch))