mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 22:52:22 +02:00
Kernel: Store IRQControllers in NonnullRefPtrs instead of RefPtrs
These are always non-null, so there's no point in storing them in a nullable container.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 12:02:22 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/9abbeff79f Pull-request: https://github.com/SerenityOS/serenity/pull/15353 Reviewed-by: https://github.com/linusg ✅ Reviewed-by: https://github.com/supercomputer7 ✅
@@ -25,7 +25,6 @@ bool IRQHandler::eoi()
|
||||
{
|
||||
dbgln_if(IRQ_DEBUG, "EOI IRQ {}", interrupt_number());
|
||||
if (!m_shared_with_others) {
|
||||
VERIFY(!m_responsible_irq_controller.is_null());
|
||||
m_responsible_irq_controller->eoi(*this);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user