diff --git a/embassy-time/src/queue_generic.rs b/embassy-time/src/queue_generic.rs index 4882afd3e..0068edae8 100644 --- a/embassy-time/src/queue_generic.rs +++ b/embassy-time/src/queue_generic.rs @@ -142,8 +142,6 @@ impl Queue { critical_section::with(|cs| { let mut inner = self.inner.borrow_ref_mut(cs); - if inner.is_none() {} - inner .get_or_insert_with(|| { let handle = unsafe { allocate_alarm() }.unwrap();