unnecessary skipping

This commit is contained in:
chrislu 2024-08-30 16:38:01 -07:00
parent 654b8210f7
commit 3c0854e986

View File

@ -511,12 +511,7 @@ func (vl *VolumeLayout) SetVolumeCrowded(vid needle.VolumeId) {
vl.accessLock.RLock()
defer vl.accessLock.RUnlock()
for _, v := range vl.writables {
if v == vid {
vl.setVolumeCrowded(vid)
break
}
}
vl.setVolumeCrowded(vid)
}
type VolumeLayoutInfo struct {