kv: tiny cleanup (#10961)

This commit is contained in:
Lynn
2019-06-28 14:22:57 +08:00
committed by Jack Yu
parent 0d984d8ffc
commit 41fc7b2d7c

View File

@ -189,8 +189,6 @@ func (us *unionStore) Get(k Key) ([]byte, error) {
}
return nil, ErrNotExist
}
}
if IsErrNotFound(err) {
v, err = us.BufferStore.r.Get(k)
}
if err != nil {