Commit 2fc48028 authored by Max Kellermann's avatar Max Kellermann

neighbor/smbclient: remove mutex locking

This is no longer necessary with the new API.
parent bb3f487e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment