mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Delete unnecessary register & unregister calls
This commit is contained in:
parent
b2e5425426
commit
800a46ace9
Notes:
sideshowbarker
2024-07-19 08:58:46 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/800a46ace98 Pull-request: https://github.com/SerenityOS/serenity/pull/1323 Reviewed-by: https://github.com/awesomekling
1 changed files with 0 additions and 2 deletions
|
@ -72,7 +72,6 @@ SharedIRQHandler::SharedIRQHandler(u8 irq)
|
|||
#ifdef INTERRUPT_DEBUG
|
||||
kprintf("Shared Interrupt Handler registered @ %d\n", m_interrupt_number);
|
||||
#endif
|
||||
register_generic_interrupt_handler(irq, *this);
|
||||
disable_interrupt_vector();
|
||||
}
|
||||
|
||||
|
@ -82,7 +81,6 @@ SharedIRQHandler::~SharedIRQHandler()
|
|||
kprintf("Shared Interrupt Handler unregistered @ %d\n", interrupt_number());
|
||||
#endif
|
||||
disable_interrupt_vector();
|
||||
unregister_generic_interrupt_handler(interrupt_number(), *this);
|
||||
}
|
||||
|
||||
void SharedIRQHandler::handle_interrupt(RegisterState& regs)
|
||||
|
|
Loading…
Reference in a new issue