diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/msi.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 3ec558dc6523..a81c5b99daf3 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c | |||
@@ -35,7 +35,6 @@ static int nr_msix_devices; | |||
35 | 35 | ||
36 | #ifndef CONFIG_X86_IO_APIC | 36 | #ifndef CONFIG_X86_IO_APIC |
37 | int vector_irq[NR_VECTORS] = { [0 ... NR_VECTORS - 1] = -1}; | 37 | int vector_irq[NR_VECTORS] = { [0 ... NR_VECTORS - 1] = -1}; |
38 | u8 irq_vector[NR_IRQ_VECTORS]; | ||
39 | #endif | 38 | #endif |
40 | 39 | ||
41 | static struct msi_ops *msi_ops; | 40 | static struct msi_ops *msi_ops; |
@@ -383,10 +382,6 @@ static int msi_init(void) | |||
383 | return status; | 382 | return status; |
384 | } | 383 | } |
385 | 384 | ||
386 | #ifndef CONFIG_X86_IO_APIC | ||
387 | irq_vector[0] = FIRST_DEVICE_VECTOR; | ||
388 | #endif | ||
389 | |||
390 | if (last_alloc_vector < 0) { | 385 | if (last_alloc_vector < 0) { |
391 | pci_msi_enable = 0; | 386 | pci_msi_enable = 0; |
392 | printk(KERN_WARNING "PCI: No interrupt vectors available for MSI\n"); | 387 | printk(KERN_WARNING "PCI: No interrupt vectors available for MSI\n"); |