diff --git a/src/storage/plugins/NfsStorage.cxx b/src/storage/plugins/NfsStorage.cxx index 2ce618ff1..44933485f 100644 --- a/src/storage/plugins/NfsStorage.cxx +++ b/src/storage/plugins/NfsStorage.cxx @@ -147,11 +147,6 @@ private: SetState(State::CONNECTING); } - void EnsureConnected() noexcept { - if (state != State::READY) - Connect(); - } - void WaitConnected() { std::unique_lock lock(mutex);