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));