From 9def4b59258a4abb6fb937e508c1c6522d2ac04f Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 8 Oct 2021 12:29:41 -0700 Subject: [PATCH] kern: tidy up capability calc --- .../libmesosphere/include/mesosphere/kern_k_capabilities.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/libmesosphere/include/mesosphere/kern_k_capabilities.hpp b/libraries/libmesosphere/include/mesosphere/kern_k_capabilities.hpp index 6025871be..f9d2d9cc1 100644 --- a/libraries/libmesosphere/include/mesosphere/kern_k_capabilities.hpp +++ b/libraries/libmesosphere/include/mesosphere/kern_k_capabilities.hpp @@ -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;