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
1 changed files with 0 additions and 2 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue