1
0
mirror of https://github.com/golang/go synced 2024-11-22 21:30:02 -07:00

net: remove unused errTimedout

It's unused since CL 524055.

Change-Id: I767eac6a66379e67337e24051e5f79aa027e9fad
Reviewed-on: https://go-review.googlesource.com/c/go/+/524715
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
Tobias Klauser 2023-08-31 12:56:34 +02:00 committed by Gopher Robot
parent cab416f339
commit 9dea791a7a
3 changed files with 0 additions and 3 deletions

View File

@ -7,7 +7,6 @@ package net
import "syscall" import "syscall"
var ( var (
errTimedout = syscall.ETIMEDOUT
errOpNotSupported = syscall.EPLAN9 errOpNotSupported = syscall.EPLAN9
abortedConnRequestErrors []error abortedConnRequestErrors []error

View File

@ -13,7 +13,6 @@ import (
) )
var ( var (
errTimedout = syscall.ETIMEDOUT
errOpNotSupported = syscall.EOPNOTSUPP errOpNotSupported = syscall.EOPNOTSUPP
abortedConnRequestErrors = []error{syscall.ECONNABORTED} // see accept in fd_unix.go abortedConnRequestErrors = []error{syscall.ECONNABORTED} // see accept in fd_unix.go

View File

@ -10,7 +10,6 @@ import (
) )
var ( var (
errTimedout = syscall.ETIMEDOUT
errOpNotSupported = syscall.EOPNOTSUPP errOpNotSupported = syscall.EOPNOTSUPP
abortedConnRequestErrors = []error{syscall.ERROR_NETNAME_DELETED, syscall.WSAECONNRESET} // see accept in fd_windows.go abortedConnRequestErrors = []error{syscall.ERROR_NETNAME_DELETED, syscall.WSAECONNRESET} // see accept in fd_windows.go