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:
Bryan C. Mills 2024-01-19 19:01:54 -05:00 committed by Gopher Robot
parent f19f31f2e7
commit b17bf6dde5

View File

@ -23,7 +23,6 @@ import (
var (
sockets sync.Map // fakeSockAddr → *netFD
fakeSocketIDs sync.Map // fakeNetFD.id → *netFD
fakePorts sync.Map // int (port #) → *netFD
nextPortCounter atomic.Int32
)