Skip to content

Commit

Permalink
remove useless cfg feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ihciah committed Oct 31, 2024
1 parent 6d54680 commit b74aec2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions monoio/src/driver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,17 +160,9 @@ impl Inner {
#[inline]
fn drop_op<T: 'static>(&self, index: usize, data: &mut Option<T>, 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();
}
}
}

Expand Down

0 comments on commit b74aec2

Please sign in to comment.