From b17bf6dde52446a3eebbf667735367566288b97f Mon Sep 17 00:00:00 2001 From: "Bryan C. Mills" Date: Fri, 19 Jan 2024 19:01:54 -0500 Subject: [PATCH] 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 Reviewed-by: Damien Neil LUCI-TryBot-Result: Go LUCI --- src/net/net_fake.go | 1 - 1 file changed, 1 deletion(-) 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 ) -- 2.48.1