neighbor/smbclient: remove mutex locking

This is no longer necessary with the new API.
This commit is contained in:
Max Kellermann 2020-07-20 22:32:27 +02:00
parent bb3f487ee5
commit 2fc4802886
1 changed files with 0 additions and 2 deletions

View File

@ -21,7 +21,6 @@
#include "lib/smbclient/Init.hxx"
#include "lib/smbclient/Context.hxx"
#include "lib/smbclient/Domain.hxx"
#include "lib/smbclient/Mutex.hxx"
#include "neighbor/NeighborPlugin.hxx"
#include "neighbor/Explorer.hxx"
#include "neighbor/Listener.hxx"
@ -180,7 +179,6 @@ static NeighborExplorer::List
DetectServers(SmbclientContext &ctx) noexcept
{
NeighborExplorer::List list;
const std::lock_guard<Mutex> protect(smbclient_mutex);
ReadServers(ctx, "smb://", list);
return list;
}