mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-03-20 07:58:55 +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:
parent
86e4067437
commit
810ed7e887
@ -115,7 +115,7 @@ impl MsiInterruptGroup<IrqRoutingEntry> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<IrqRoutingEntry> MsiInterruptGroup<IrqRoutingEntry> {
|
||||
impl MsiInterruptGroup<IrqRoutingEntry> {
|
||||
fn new(
|
||||
vm: Arc<dyn hypervisor::Vm>,
|
||||
gsi_msi_routes: Arc<Mutex<HashMap<u32, RoutingEntry<IrqRoutingEntry>>>>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user