vm-device: reevaluate #[allow] attributes

Drop stale #[allow]s whose lints no longer fire and convert the
still-needed ones to #[expect] so they warn if the lints stop firing.

Part of #8326.

Signed-off-by: Tushar Khatri <hello@tusharkhatri.in>
This commit is contained in:
Tushar Khatri
2026-06-11 15:39:51 +00:00
committed by Rob Bradford
parent 407dd12dc5
commit 712d42e6ac
3 changed files with 4 additions and 6 deletions

View File

@@ -164,7 +164,6 @@ pub trait InterruptSourceGroup: Send + Sync {
/// An interrupt notifier allows for external components and processes
/// to inject interrupts into a guest, by writing to the [`EventFd`] returned
/// by this method.
#[allow(unused_variables)]
fn notifier(&self, index: InterruptIndex) -> Option<EventFd>;
/// Update the interrupt source group configuration.