From 2f12caccf90364513bbd7595502450ee8cdc6c80 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 24 Jan 2022 10:35:19 -0500 Subject: kernel/k_affinity_mask: Remove duplicated assert This is already checked inside GetCoreBit() --- src/core/hle/kernel/k_affinity_mask.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/kernel/k_affinity_mask.h b/src/core/hle/kernel/k_affinity_mask.h index b906895fc..cf704ce87 100644 --- a/src/core/hle/kernel/k_affinity_mask.h +++ b/src/core/hle/kernel/k_affinity_mask.h @@ -31,8 +31,6 @@ public: } constexpr void SetAffinity(s32 core, bool set) { - ASSERT(0 <= core && core < static_cast(Core::Hardware::NUM_CPU_CORES)); - if (set) { this->mask |= GetCoreBit(core); } else { -- cgit v1.2.3