Remove duplicated legacy SYS_RES_IRQ resources assignment.

Noticed by:	jhb
This commit is contained in:
Pyun YongHyeon 2007-01-09 01:31:22 +00:00
parent ee7093a640
commit 6ec27c17e7

View File

@ -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);