vm-device: bus: drop the interrupt function

It is not used anywhere.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu 2021-04-12 17:31:03 +00:00 committed by Rob Bradford
parent 810ed7e887
commit d4eaf746b5

View File

@ -24,8 +24,6 @@ pub trait BusDevice: Send {
fn write(&mut self, base: u64, offset: u64, data: &[u8]) -> Option<Arc<Barrier>> {
None
}
/// Triggers the `irq_mask` interrupt on this device
fn interrupt(&self, irq_mask: u32) {}
}
#[derive(Debug)]