]> Git Repo - qemu.git/blobdiff - hw/intc/ioapic.c
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
[qemu.git] / hw / intc / ioapic.c
index 652dd47a1c1ec2658f5783274dcc30acff985799..b527932382677363299bcb8668b9f950a103bcf8 100644 (file)
@@ -93,9 +93,6 @@ static void ioapic_set_irq(void *opaque, int vector, int level)
         uint32_t mask = 1 << vector;
         uint64_t entry = s->ioredtbl[vector];
 
-        if (entry & (1 << IOAPIC_LVT_POLARITY_SHIFT)) {
-            level = !level;
-        }
         if (((entry >> IOAPIC_LVT_TRIGGER_MODE_SHIFT) & 1) ==
             IOAPIC_TRIGGER_LEVEL) {
             /* level triggered */
This page took 0.02432 seconds and 4 git commands to generate.