mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +00: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:
parent
176989d811
commit
9abbeff79f
8 changed files with 13 additions and 15 deletions
|
@ -41,6 +41,6 @@ private:
|
|||
explicit SharedIRQHandler(u8 interrupt_number);
|
||||
bool m_enabled { true };
|
||||
GenericInterruptHandler::List m_handlers;
|
||||
LockRefPtr<IRQController> m_responsible_irq_controller;
|
||||
NonnullLockRefPtr<IRQController> m_responsible_irq_controller;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue