Skip to content

Commit

Permalink
Remove duplicated and buggy code
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamos82 committed Dec 8, 2024
1 parent 137159a commit ab8f9e5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/kernel/arch/x86_64/cpu/ioapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit ab8f9e5

Please sign in to comment.