From e013c192234dc14697335a9e53fa74709a19547d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 6 May 2024 18:15:57 +0200 Subject: [PATCH] storage/nfs: remove unused method EnsureConnected() --- src/storage/plugins/NfsStorage.cxx | 5 ----- 1 file changed, 5 deletions(-) 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);