aboutsummaryrefslogtreecommitdiff
path: root/hw/piix_pci.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-16 16:33:01 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-16 16:33:01 +0000
commitd78f399542b0b81fab67f31c9a88665943f0571d (patch)
tree78000d67343db1e17e038986d492d6918d335d18 /hw/piix_pci.c
parent7f70c93716412b0874ae231c2f5416edccb22e7f (diff)
downloadqemu-d78f399542b0b81fab67f31c9a88665943f0571d.zip
qemu-d78f399542b0b81fab67f31c9a88665943f0571d.tar.gz
qemu-d78f399542b0b81fab67f31c9a88665943f0571d.tar.bz2
Delete some unused macros detected with -Wp,-Wunused-macros use
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6856 c046a42c-6fe2-441c-8c8c-71466251a162
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 53e20a0..b8607aa 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -210,9 +210,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;