refactor: clean up non-doc warnings

This commit is contained in:
2021-10-26 13:37:44 +03:00
parent 8274abbda1
commit 4656bb13f4
10 changed files with 53 additions and 29 deletions
+3 -5
View File
@@ -48,11 +48,9 @@ impl<T> IrqSafeSpinLock<T> {
cortex_a::asm::wfe();
}
unsafe {
IrqSafeSpinLockGuard {
lock: self,
irq_state
}
IrqSafeSpinLockGuard {
lock: self,
irq_state
}
}
}