storage/nfs: remove unused method EnsureConnected()
This commit is contained in:
parent
4684d05fa6
commit
e013c19223
@ -147,11 +147,6 @@ private:
|
|||||||
SetState(State::CONNECTING);
|
SetState(State::CONNECTING);
|
||||||
}
|
}
|
||||||
|
|
||||||
void EnsureConnected() noexcept {
|
|
||||||
if (state != State::READY)
|
|
||||||
Connect();
|
|
||||||
}
|
|
||||||
|
|
||||||
void WaitConnected() {
|
void WaitConnected() {
|
||||||
std::unique_lock<Mutex> lock(mutex);
|
std::unique_lock<Mutex> lock(mutex);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user