kernel/k_affinity_mask: Remove duplicated assert

This is already checked inside GetCoreBit()
This commit is contained in:
Lioncash 2022-01-24 10:35:19 -05:00
parent 2136ebccd6
commit 2f12caccf9
1 changed files with 0 additions and 2 deletions

View File

@ -31,8 +31,6 @@ public:
}
constexpr void SetAffinity(s32 core, bool set) {
ASSERT(0 <= core && core < static_cast<s32>(Core::Hardware::NUM_CPU_CORES));
if (set) {
this->mask |= GetCoreBit(core);
} else {