add and apply unused_io_amount clippy lint

This commit is contained in:
auronandace
2026-06-17 13:40:16 +01:00
parent c906030759
commit 05a8954e0a
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ impl<Hw: Hardware> LocalExecutor<Hw> {
if self.intx {
let mut buf = [0_u8; core::mem::size_of::<usize>()];
if (&self.irq_handle).read(&mut buf).unwrap() != 0 {
(&self.irq_handle).write(&buf).unwrap();
(&self.irq_handle).write_all(&buf).unwrap();
}
}