summaryrefslogtreecommitdiff
path: root/src/pkg/net/net.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/net.go')
-rw-r--r--src/pkg/net/net.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pkg/net/net.go b/src/pkg/net/net.go
index c8d533206..c2c835af1 100644
--- a/src/pkg/net/net.go
+++ b/src/pkg/net/net.go
@@ -326,7 +326,6 @@ func socket(net, laddr, raddr string, f, p, t int, la, ra syscall.Sockaddr) (fd
// Allow reuse of recently-used addresses.
syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_REUSEADDR, 1);
- var r int64;
if la != nil {
e = syscall.Bind(s, la);
if e != 0 {