From 81ec3f6a6ccd65abc85fc1f5d16af0a4b426029b Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Wed, 15 Feb 2017 19:22:45 +1100 Subject: [PATCH] internal/poll: remove unused poll.pollDesc methods Change-Id: Ic2b20c8238ff0ca5513d32e54ef2945fa4d0c3d2 Reviewed-on: https://go-review.googlesource.com/37033 Run-TryBot: Dave Cheney TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/internal/poll/fd_poll_runtime.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/internal/poll/fd_poll_runtime.go b/src/internal/poll/fd_poll_runtime.go index f0d7a227299..5040d6a1f79 100644 --- a/src/internal/poll/fd_poll_runtime.go +++ b/src/internal/poll/fd_poll_runtime.go @@ -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: