*: drop unused structure fields

Found by structcheck:
 `good` is unused (structcheck)
and alike.
This commit is contained in:
Roman Khimov 2021-05-12 19:41:23 +03:00
parent 4cd3da99b4
commit 601841ef35
4 changed files with 0 additions and 5 deletions

View file

@ -6,7 +6,6 @@ import (
type varScope struct {
localsCnt int
argCnt int
arguments map[string]int
locals []map[string]varInfo
}

View file

@ -19,7 +19,6 @@ import (
type testDiscovery struct {
sync.Mutex
bad []string
good []string
connected []string
unregistered []string
backfill []string

View file

@ -58,8 +58,6 @@ type TCPPeer struct {
p2pSendQ chan []byte
hpSendQ chan []byte
wg sync.WaitGroup
// track outstanding getaddr requests.
getAddrSent atomic.Int32

View file

@ -59,7 +59,6 @@ type (
subsLock sync.RWMutex
subscribers map[*subscriber]bool
subsGroup sync.WaitGroup
blockSubs int
executionSubs int
notificationSubs int