Skip to content

Commit f1c1867

Browse files
committed
chore: remove unnecessary mutex
1 parent e1ccf87 commit f1c1867

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎balancer.go‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import (
1616
"errors"
1717
"fmt"
1818
"hash/maphash"
19-
"sync"
2019

2120
"google.golang.org/grpc/balancer"
2221
"google.golang.org/grpc/balancer/base"
@@ -128,7 +127,6 @@ func (s subConnMember) Key() string { return s.key }
128127
var _ hashring.Member = (*subConnMember)(nil)
129128

130129
type builder struct {
131-
sync.Mutex
132130
hashfn hashring.HashFunc
133131
config BalancerConfig
134132
}

0 commit comments

Comments
 (0)