diff --git a/src/kernel/arch/x86_64/cpu/ioapic.c b/src/kernel/arch/x86_64/cpu/ioapic.c index 92abe48..2687e0b 100644 --- a/src/kernel/arch/x86_64/cpu/ioapic.c +++ b/src/kernel/arch/x86_64/cpu/ioapic.c @@ -133,11 +133,6 @@ void set_irq(uint8_t irq_type, uint8_t redirect_table_pos, uint8_t idt_entry, ui } else { entry.pin_polarity = 0b0; } - if(((io_apic_source_overrides[counter].flags >>2) & 0b11) == 2) { - entry.pin_polarity = 0b1; - } else { - entry.pin_polarity = 0b0; - } break; } counter++;