Browse Source

queue: remove unsued waitgroup

master
Andras Banki-Horvath 4 years ago
parent
commit
c7fa5ea863
  1. 2
      queue/gc_queue.go

2
queue/gc_queue.go

@ -2,7 +2,6 @@ package queue
import ( import (
"container/list" "container/list"
"sync"
"time" "time"
"github.com/lightningnetwork/lnd/ticker" "github.com/lightningnetwork/lnd/ticker"
@ -44,7 +43,6 @@ type GCQueue struct {
// increasing time of arrival. // increasing time of arrival.
freeList *list.List freeList *list.List
wg sync.WaitGroup
quit chan struct{} quit chan struct{}
} }

Loading…
Cancel
Save