diff --git a/machine/src/platform/rpi3/mailbox.rs b/machine/src/platform/rpi3/mailbox.rs index e5c299e..116d5b9 100644 --- a/machine/src/platform/rpi3/mailbox.rs +++ b/machine/src/platform/rpi3/mailbox.rs @@ -166,6 +166,7 @@ impl Drop for DmaBackedMailboxStorage { fn drop(&mut self) { DMA_ALLOCATOR .lock::<_, Result<()>>(|a| unsafe { + #[allow(clippy::unit_arg)] Ok(a.deallocate( NonNull::new_unchecked(self.storage as *mut u8), Layout::from_size_align(N_SLOTS * mem::size_of::(), 16)