vmm: remove unneeded #[allow(dead_code)]

On-behalf-of: SAP philipp.schuster@sap.com
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
Philipp Schuster
2026-06-03 14:34:53 +02:00
committed by Rob Bradford
parent c348d6598e
commit f1f02e7144
4 changed files with 5 additions and 30 deletions

View File

@@ -124,10 +124,6 @@ impl InterruptRoute {
)
}
// This is currently not used, but the upcoming vhost-guest feature
// will use it. Use #[allow(dead_code)] to suppress a compiler
// warning.
#[allow(dead_code)]
fn set_notifier(&mut self, eventfd: Option<EventFd>, vm: &dyn hypervisor::Vm) -> Result<()> {
let old_irqfd = core::mem::replace(&mut self.irq_fd, eventfd);
if self.registered {