From 47f095501eb331a4cd2b6b80345317be099331bf Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Mon, 13 Apr 2015 17:19:09 -0700 Subject: [PATCH] net: remove old comment The memory model has been clarified since. This is legal and doesn't need justification. Change-Id: I60f9938503f86f52bb568ca1a99ac721ee72cee5 Reviewed-on: https://go-review.googlesource.com/8913 Reviewed-by: Mikio Hara --- src/net/net.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/net/net.go b/src/net/net.go index 3b06e6b489..439d21cfc1 100644 --- a/src/net/net.go +++ b/src/net/net.go @@ -419,10 +419,6 @@ func genericReadFrom(w io.Writer, r io.Reader) (n int64, err error) { var threadLimit = make(chan struct{}, 500) -// Using send for acquire is fine here because we are not using this -// to protect any memory. All we care about is the number of goroutines -// making calls at a time. - func acquireThread() { threadLimit <- struct{}{} } -- 2.50.0