lib/storage: remove unused atomicSetBool function after 717c53af27

This commit is contained in:
Aliaksandr Valialkin 2023-09-25 17:37:24 +02:00
parent 89a5e27216
commit 223ef96198
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -1180,14 +1180,6 @@ func (pt *partition) releasePartsToMerge(pws []*partWrapper) {
var errNothingToMerge = fmt.Errorf("nothing to merge")
func atomicSetBool(p *uint64, b bool) {
v := uint64(0)
if b {
v = 1
}
atomic.StoreUint64(p, v)
}
func (pt *partition) runFinalDedup() error {
requiredDedupInterval, actualDedupInterval := pt.getRequiredDedupInterval()
t := time.Now()