summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hw/piix_pci.c')
-rw-r--r--hw/piix_pci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 74460e186..8f3c96d73 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -216,9 +216,6 @@ PCIBus *i440fx_init(PCIDevice **pi440fx_state, qemu_irq *pic)
static PCIDevice *piix3_dev;
PCIDevice *piix4_dev;
-/* just used for simpler irq handling. */
-#define PCI_IRQ_WORDS ((PCI_DEVICES_MAX + 31) / 32)
-
static void piix3_set_irq(qemu_irq *pic, int irq_num, int level)
{
int i, pic_irq, pic_level;