summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hw/i8259.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i8259.c b/hw/i8259.c
index 65123bd2dc..cddd3c769e 100644
--- a/hw/i8259.c
+++ b/hw/i8259.c
@@ -393,7 +393,6 @@ static uint32_t pic_poll_read(PicState *s)
             pic_update_irq(s->pics_state);
     } else {
         ret = 0x07;
-        pic_update_irq(s->pics_state);
     }
 
     return ret;