Remove duplicated legacy SYS_RES_IRQ resources assignment.
Noticed by: jhb
This commit is contained in:
parent
ee7093a640
commit
6ec27c17e7
@ -1713,10 +1713,8 @@ mskc_attach(device_t dev)
|
||||
if (msic == 2) {
|
||||
sc->msk_msi = 1;
|
||||
sc->msk_irq_spec = msk_irq_spec_msi;
|
||||
} else {
|
||||
} else
|
||||
pci_release_msi(dev);
|
||||
sc->msk_irq_spec = msk_irq_spec_legacy;
|
||||
}
|
||||
}
|
||||
|
||||
error = bus_alloc_resources(dev, sc->msk_irq_spec, sc->msk_irq);
|
||||
|
Loading…
Reference in New Issue
Block a user