From 60bdbc3fb5bde984ec533d62ee0153101e4cd26a Mon Sep 17 00:00:00 2001 From: Junior Martinez <67972863+jmartinez-silabs@users.noreply.github.com> Date: Mon, 13 Mar 2023 12:13:40 -0400 Subject: [PATCH] Remove asserts for Chip Task lock in SystemStats.cpp (#25656) --- src/system/SystemStats.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/system/SystemStats.cpp b/src/system/SystemStats.cpp index 244a2517b31c78..31ab90eb8ab4c6 100644 --- a/src/system/SystemStats.cpp +++ b/src/system/SystemStats.cpp @@ -60,29 +60,21 @@ count_t sHighWatermarks[kNumEntries]; const Label * GetStrings() { - assertChipStackLockedByCurrentThread(); - return sStatsStrings; } count_t * GetResourcesInUse() { - assertChipStackLockedByCurrentThread(); - return sResourcesInUse; } count_t * GetHighWatermarks() { - assertChipStackLockedByCurrentThread(); - return sHighWatermarks; } void UpdateSnapshot(Snapshot & aSnapshot) { - assertChipStackLockedByCurrentThread(); - memcpy(&aSnapshot.mResourcesInUse, &sResourcesInUse, sizeof(aSnapshot.mResourcesInUse)); memcpy(&aSnapshot.mHighWatermarks, &sHighWatermarks, sizeof(aSnapshot.mHighWatermarks));