Browse Source

cleanup lint

pull/8134/head
tycho garen 2 years ago
parent
commit
043df84529
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      internal/libs/clist/clist.go
  2. +1
    -1
      internal/libs/clist/clist_test.go

+ 0
- 1
internal/libs/clist/clist.go View File

@ -193,7 +193,6 @@ func (e *CElement) setRemoved() {
// Panics if length grows beyond the max.
type CList struct {
mtx sync.RWMutex
wg *sync.WaitGroup
waitCh chan struct{}
head *CElement // first element
tail *CElement // last element


+ 1
- 1
internal/libs/clist/clist_test.go View File

@ -218,7 +218,7 @@ func TestScanRightDeleteRandom(t *testing.T) {
default:
}
if el == nil {
el = l.FrontWait()
el = l.frontWait()
restartCounter++
}
el = el.Next()


Loading…
Cancel
Save