From b74aec2e7317d48c767e3c14531c84778754d77e Mon Sep 17 00:00:00 2001 From: ihciah Date: Thu, 31 Oct 2024 09:29:30 +0000 Subject: [PATCH] remove useless cfg feature --- monoio/src/driver/mod.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/monoio/src/driver/mod.rs b/monoio/src/driver/mod.rs index 41335f88..b05d0769 100644 --- a/monoio/src/driver/mod.rs +++ b/monoio/src/driver/mod.rs @@ -160,17 +160,9 @@ impl Inner { #[inline] fn drop_op(&self, index: usize, data: &mut Option, skip_cancel: bool) { match self { - #[cfg(all(target_os = "linux", feature = "iouring"))] Inner::Uring(this) => UringInner::drop_op(this, index, data, skip_cancel), #[cfg(feature = "legacy")] Inner::Legacy(_) => {} - #[cfg(all( - not(feature = "legacy"), - not(all(target_os = "linux", feature = "iouring")) - ))] - _ => { - util::feature_panic(); - } } }