mirror of
https://github.com/golang/go.git
synced 2025-05-23 08:21:24 +00:00
net: remove an unused sync.Map in the fake net implementation
I added this map in CL 526117, but it is apparently unused. I assume that I removed all uses of it while revising that change. Updates #59718. Updates #50216. Change-Id: I8cdac39f4764d1fcc31566408304c850cf0f9374 Reviewed-on: https://go-review.googlesource.com/c/go/+/557176 Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Damien Neil <dneil@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
f19f31f2e7
commit
b17bf6dde5
@ -23,7 +23,6 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
sockets sync.Map // fakeSockAddr → *netFD
|
sockets sync.Map // fakeSockAddr → *netFD
|
||||||
fakeSocketIDs sync.Map // fakeNetFD.id → *netFD
|
|
||||||
fakePorts sync.Map // int (port #) → *netFD
|
fakePorts sync.Map // int (port #) → *netFD
|
||||||
nextPortCounter atomic.Int32
|
nextPortCounter atomic.Int32
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user