diff options
| author | Bryan C. Mills <bcmills@google.com> | 2024-01-19 19:01:54 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-01-22 16:09:18 +0000 |
| commit | b17bf6dde52446a3eebbf667735367566288b97f (patch) | |
| tree | 40c1684b66d1e0a052bc57bdb062435dd6bf5c5f /src | |
| parent | f19f31f2e7c136a8dae03cbfe4f8ebbb8b54569b (diff) | |
| download | go-b17bf6dde52446a3eebbf667735367566288b97f.tar.xz | |
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/net/net_fake.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net/net_fake.go b/src/net/net_fake.go index 525ff32296..60b52b79fd 100644 --- a/src/net/net_fake.go +++ b/src/net/net_fake.go @@ -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 ) |
