From 0a895b591e1ae989492a9da138c2a5abf91e718c Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 7 Apr 2020 19:57:36 +0200 Subject: [PATCH] Remove outdated comment Locks are gone for good. --- upstream.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/upstream.go b/upstream.go index 122a3d1..63c4965 100644 --- a/upstream.go +++ b/upstream.go @@ -166,8 +166,6 @@ func (uc *upstreamConn) endPendingLISTs(all bool) (found bool) { } func (uc *upstreamConn) trySendLIST(downstreamID uint64) { - // must be called with a lock in uc.user.pendingLISTsLock - if _, ok := uc.pendingLISTDownstreamSet[downstreamID]; ok { // a LIST command is already pending // we will try again when that command is completed