lib/mergeset: remove dead code left after a4140de9e6

This commit is contained in:
Aliaksandr Valialkin 2021-02-09 16:33:52 +02:00
parent 9ed7789fef
commit afa9cf9c57

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
}