1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:04:41 -07:00

internal/poll: remove unused poll.pollDesc methods

Change-Id: Ic2b20c8238ff0ca5513d32e54ef2945fa4d0c3d2
Reviewed-on: https://go-review.googlesource.com/37033
Run-TryBot: Dave Cheney <dave@cheney.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Dave Cheney 2017-02-15 19:22:45 +11:00
parent 79fab70a63
commit 81ec3f6a6c

View File

@ -100,14 +100,6 @@ func (pd *pollDesc) waitCanceled(mode int) {
runtime_pollWaitCanceled(pd.runtimeCtx, mode)
}
func (pd *pollDesc) waitCanceledRead() {
pd.waitCanceled('r')
}
func (pd *pollDesc) waitCanceledWrite() {
pd.waitCanceled('w')
}
func convertErr(res int) error {
switch res {
case 0: