storage/nfs: remove unused method EnsureConnected()

This commit is contained in:
Max Kellermann 2024-05-06 18:15:57 +02:00
parent 4684d05fa6
commit e013c19223

View File

@ -147,11 +147,6 @@ private:
SetState(State::CONNECTING);
}
void EnsureConnected() noexcept {
if (state != State::READY)
Connect();
}
void WaitConnected() {
std::unique_lock<Mutex> lock(mutex);