Skip to content

Commit

Permalink
event: remove unused struct fields
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarsa committed Feb 22, 2018
1 parent 71b9367 commit d047db3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions event/workers.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,10 @@ func (l *eventCleaner) spin() {
}

type lockUpdater struct {
addCh chan eventID
removeCh chan eventID
stopCh chan struct{}
once *sync.Once
setMu sync.Mutex
set map[eventID]struct{}
stopCh chan struct{}
once *sync.Once
setMu sync.Mutex
set map[eventID]struct{}
}

func (l *lockUpdater) start() {
Expand Down

0 comments on commit d047db3

Please sign in to comment.