Remove noop from queue_generic

This commit is contained in:
Dániel Buga 2024-11-19 17:30:31 +01:00
parent 0f95c72e78
commit 448db47263
No known key found for this signature in database

View File

@ -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();