mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
kern: tidy up capability calc
This commit is contained in:
parent
578843f92c
commit
9def4b5925
1 changed files with 0 additions and 1 deletions
|
@ -222,7 +222,6 @@ namespace ams::kern {
|
|||
}
|
||||
|
||||
constexpr bool SetInterruptPermitted(u32 id) {
|
||||
constexpr size_t BitsPerWord = BITSIZEOF(m_irq_access_flags[0]);
|
||||
if (AMS_LIKELY(id < m_irq_access_flags.GetCount())) {
|
||||
m_irq_access_flags[id] = true;
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue