From: Brad Fitzpatrick Date: Tue, 14 Apr 2015 00:19:09 +0000 (-0700) Subject: net: remove old comment X-Git-Tag: go1.5beta1~1128 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=47f095501eb331a4cd2b6b80345317be099331bf;p=gostls13.git 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 --- 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{}{} }