diff options
author | Pankaj Raghav <pankydev8@gmail.com> | 2022-01-27 16:33:28 +0530 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-02 18:26:59 +0100 |
commit | aa832ee2511693114db417714183a4ac37272e9b (patch) | |
tree | e5a066dbb62da056a725ec51050214dc14733a3a /Kernel/Storage | |
parent | e5a6d12ff80aef5a34c3081f153b958dca2ea841 (diff) | |
download | serenity-aa832ee2511693114db417714183a4ac37272e9b.zip |
Kernel: Add conditional call to disable_irq in IRQHandler constructor
There is no use in calling disable_irq function in the IRQHandler
constructor if irq was not registered before. So add a condition where
we call disable_irq only if the irq was registered before.
Diffstat (limited to 'Kernel/Storage')
0 files changed, 0 insertions, 0 deletions