mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15:20 +00:00
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:
parent
810ed7e887
commit
d4eaf746b5
@ -24,8 +24,6 @@ pub trait BusDevice: Send {
|
|||||||
fn write(&mut self, base: u64, offset: u64, data: &[u8]) -> Option<Arc<Barrier>> {
|
fn write(&mut self, base: u64, offset: u64, data: &[u8]) -> Option<Arc<Barrier>> {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
/// Triggers the `irq_mask` interrupt on this device
|
|
||||||
fn interrupt(&self, irq_mask: u32) {}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
Loading…
Reference in New Issue
Block a user