mirror of
https://github.com/golang/go
synced 2024-11-27 02:11:17 -07:00
os: delete unused errClosed
errClosed was introduced by CL 163058 and was supposed to be removed by CL 243906, but somehow it was left out, now we should get it deleted. Change-Id: I74c4b36b8bbc4844e1860acb022a16b0aa3272b2 Reviewed-on: https://go-review.googlesource.com/c/go/+/427035 Run-TryBot: Andy Pan <panjf2000@gmail.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
dc029f286e
commit
979956a732
@ -5,7 +5,6 @@
|
||||
package os
|
||||
|
||||
import (
|
||||
"internal/oserror"
|
||||
"internal/poll"
|
||||
"io/fs"
|
||||
)
|
||||
@ -28,7 +27,6 @@ var (
|
||||
ErrDeadlineExceeded = errDeadlineExceeded() // "i/o timeout"
|
||||
)
|
||||
|
||||
func errClosed() error { return oserror.ErrClosed }
|
||||
func errNoDeadline() error { return poll.ErrNoDeadline }
|
||||
|
||||
// errDeadlineExceeded returns the value for os.ErrDeadlineExceeded.
|
||||
|
Loading…
Reference in New Issue
Block a user