remove unused debug counter

This commit is contained in:
Corwin Kuiper 2021-06-23 18:56:21 +01:00
parent ebfd637300
commit dacdf51dca

View file

@ -105,10 +105,8 @@ pub struct InterruptClosure {
impl InterruptRoot {
fn trigger_interrupts(&self) {
let mut count = 0;
let mut c = self.next.get();
while !c.is_null() {
count += 1;
let closure_ptr = unsafe { &*c }.closure;
let closure_ref = unsafe { &mut *closure_ptr };
closure_ref();