diff --git a/src/runtime/endpoints.rs b/src/runtime/endpoints.rs index 57b49ba006be144f813c2056ffb1f95a07213a5f..8a88cb1e48f1ec247572a878ef91d45703e2b1f2 100644 --- a/src/runtime/endpoints.rs +++ b/src/runtime/endpoints.rs @@ -12,10 +12,6 @@ enum TryRecyAnyError { } ///////////////////// - -fn would_block(err: &std::io::Error) -> bool { - err.kind() == std::io::ErrorKind::WouldBlock -} impl Endpoint { pub(super) fn try_recv( &mut self,