diff --git a/sys/dev/aac/aac_pci.c b/sys/dev/aac/aac_pci.c index 87ada1c1446..f768c8b2fd6 100644 --- a/sys/dev/aac/aac_pci.c +++ b/sys/dev/aac/aac_pci.c @@ -394,6 +394,7 @@ aac_pci_attach(device_t dev) * Allocate the interrupt. */ rid = 0; + count = 0; if (aac_enable_msi != 0 && pci_find_cap(dev, PCIY_MSI, ®) == 0) { count = pci_msi_count(dev); if (count > 1)