@@ -178,11 +178,7 @@ impl IntoInner for PathStat {
178178
179179impl < T :  IoBufMut >  OpCode  for  ReadAt < T >  { 
180180    fn  pre_submit ( self :  Pin < & mut  Self > )  -> io:: Result < Decision >  { 
181-         if  cfg ! ( any( target_os = "linux" ,  target_os = "android" ) )  { 
182-             Ok ( Decision :: blocking_readable ( self . fd ) ) 
183-         }  else  { 
184-             Ok ( Decision :: wait_readable ( self . fd ) ) 
185-         } 
181+         Ok ( Decision :: blocking_readable ( self . fd ) ) 
186182    } 
187183
188184    fn  on_event ( self :  Pin < & mut  Self > ,  event :  & Event )  -> Poll < io:: Result < usize > >  { 
@@ -197,11 +193,7 @@ impl<T: IoBufMut> OpCode for ReadAt<T> {
197193
198194impl < T :  IoVectoredBufMut >  OpCode  for  ReadVectoredAt < T >  { 
199195    fn  pre_submit ( self :  Pin < & mut  Self > )  -> io:: Result < Decision >  { 
200-         if  cfg ! ( any( target_os = "linux" ,  target_os = "android" ) )  { 
201-             Ok ( Decision :: blocking_readable ( self . fd ) ) 
202-         }  else  { 
203-             Ok ( Decision :: wait_readable ( self . fd ) ) 
204-         } 
196+         Ok ( Decision :: blocking_readable ( self . fd ) ) 
205197    } 
206198
207199    fn  on_event ( self :  Pin < & mut  Self > ,  event :  & Event )  -> Poll < io:: Result < usize > >  { 
@@ -222,11 +214,7 @@ impl<T: IoVectoredBufMut> OpCode for ReadVectoredAt<T> {
222214
223215impl < T :  IoBuf >  OpCode  for  WriteAt < T >  { 
224216    fn  pre_submit ( self :  Pin < & mut  Self > )  -> io:: Result < Decision >  { 
225-         if  cfg ! ( any( target_os = "linux" ,  target_os = "android" ) )  { 
226-             Ok ( Decision :: blocking_writable ( self . fd ) ) 
227-         }  else  { 
228-             Ok ( Decision :: wait_writable ( self . fd ) ) 
229-         } 
217+         Ok ( Decision :: blocking_writable ( self . fd ) ) 
230218    } 
231219
232220    fn  on_event ( self :  Pin < & mut  Self > ,  event :  & Event )  -> Poll < io:: Result < usize > >  { 
@@ -246,11 +234,7 @@ impl<T: IoBuf> OpCode for WriteAt<T> {
246234
247235impl < T :  IoVectoredBuf >  OpCode  for  WriteVectoredAt < T >  { 
248236    fn  pre_submit ( self :  Pin < & mut  Self > )  -> io:: Result < Decision >  { 
249-         if  cfg ! ( any( target_os = "linux" ,  target_os = "android" ) )  { 
250-             Ok ( Decision :: blocking_writable ( self . fd ) ) 
251-         }  else  { 
252-             Ok ( Decision :: wait_writable ( self . fd ) ) 
253-         } 
237+         Ok ( Decision :: blocking_writable ( self . fd ) ) 
254238    } 
255239
256240    fn  on_event ( self :  Pin < & mut  Self > ,  event :  & Event )  -> Poll < io:: Result < usize > >  { 
0 commit comments