aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/net.go4
1 files changed, 0 insertions, 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{}{}
}