Skip to content

Commit

Permalink
net: remove an unused sync.Map in the fake net implementation
Browse files Browse the repository at this point in the history
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 golang#59718.
Updates golang#50216.

Change-Id: I8cdac39f4764d1fcc31566408304c850cf0f9374
Reviewed-on: https://go-review.googlesource.com/c/go/+/557176
Auto-Submit: Bryan Mills <[email protected]>
Reviewed-by: Damien Neil <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
  • Loading branch information
Bryan C. Mills authored and ezz-no committed Feb 17, 2024
1 parent ea689c7 commit 0f62033
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/net/net_fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 0f62033

Please sign in to comment.