mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: interrupt: drop unnecessary type from impl
The original code had a generic type E. It was later replaced by a concrete type. The code should have been simplified when the replacement happened. Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
@@ -115,7 +115,7 @@ impl MsiInterruptGroup<IrqRoutingEntry> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<IrqRoutingEntry> MsiInterruptGroup<IrqRoutingEntry> {
|
impl MsiInterruptGroup<IrqRoutingEntry> {
|
||||||
fn new(
|
fn new(
|
||||||
vm: Arc<dyn hypervisor::Vm>,
|
vm: Arc<dyn hypervisor::Vm>,
|
||||||
gsi_msi_routes: Arc<Mutex<HashMap<u32, RoutingEntry<IrqRoutingEntry>>>>,
|
gsi_msi_routes: Arc<Mutex<HashMap<u32, RoutingEntry<IrqRoutingEntry>>>>,
|
||||||
|
|||||||
Reference in New Issue
Block a user