lib/mergeset: remove dead code left after a4140de9e6

This commit is contained in:
Aliaksandr Valialkin 2021-02-09 16:33:52 +02:00
parent d56390b925
commit 0a69122d81

View file

@ -314,15 +314,10 @@ type inmemoryBlockCache struct {
}
type inmemoryBlockCacheKey struct {
firstItem string
itemsBlockOffset uint64
}
func (ibck *inmemoryBlockCacheKey) Init(bh *blockHeader) {
ibck.firstItem = ""
if bh.itemsBlockSize == 0 {
ibck.firstItem = string(bh.firstItem)
}
ibck.itemsBlockOffset = bh.itemsBlockOffset
}