Merge pull request #3548 from bugadani/generic

Remove noop from queue_generic
This commit is contained in:
Dario Nieuwenhuis 2024-11-19 16:52:18 +00:00 committed by GitHub
commit e41a5c6268
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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