diff --git a/src/net/net.go b/src/net/net.go index 3b06e6b4898..439d21cfc1a 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{}{} }