Remove unlocked since its there already.

This commit is contained in:
Mark Beamer Jr 2019-08-25 16:12:21 -04:00
parent 26b0c7356d
commit ea5b70e8fc
No known key found for this signature in database
GPG key ID: 1C314FB89AD76973

View file

@ -106,8 +106,6 @@ func (s *Group) DoneNamed(name string) {
if s.waitingOn != nil {
s.mu.Lock()
defer s.mu.Unlock()
if current, ok := s.waitingOn[name]; ok {
if current <= 1 {
delete(s.waitingOn, name)