summaryrefslogtreecommitdiff
path: root/src/net/dial.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/dial.go')
-rw-r--r--src/net/dial.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net/dial.go b/src/net/dial.go
index 0424ed250f..ec48d2d4e2 100644
--- a/src/net/dial.go
+++ b/src/net/dial.go
@@ -180,8 +180,6 @@ func (d *Dialer) Dial(network, address string) (Conn, error) {
return c, err
}
-var testHookSetKeepAlive = func() {} // changed by dial_test.go
-
// dialMulti attempts to establish connections to each destination of
// the list of addresses. It will return the first established
// connection and close the other connections. Otherwise it returns