x/tools: remove dead code
These unused functions and methods were discovered by a (work in progress) dead function analyzer. Change-Id: Iaa9c5fd4f06bdcd5d7c6e194bcc24d6b37df8f4c Reviewed-on: https://go-review.googlesource.com/c/tools/+/639675 Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Robert Findley <rfindley@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
e9c5ea2423
commit
dd2bc6543e
1 changed files with 0 additions and 28 deletions
|
|
@ -8,12 +8,7 @@
|
|||
package jsonrpc2
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"net"
|
||||
)
|
||||
|
||||
var errClosed = net.ErrClosed
|
||||
|
||||
func isErrClosed(err error) bool {
|
||||
return errors.Is(err, errClosed)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue