Merge pull request #7771 from lioncash/assert

kernel/k_affinity_mask: Remove duplicated assert
This commit is contained in:
Morph 2022-01-25 16:15:18 -05:00 committed by GitHub
commit 8dbad556ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

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