From b89676c18d052eb479a6ea9a2d514306230d9c39 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Wed, 13 Sep 2023 14:57:54 -0400 Subject: [PATCH] Remove CHIP_SYSTEM_CONFIG_USE_TIMER_POOL bits. This is not a config macro we have anymore, and the code it guards does not compile, since System::Timer has no GetStatistics method. --- src/system/SystemStats.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/system/SystemStats.cpp b/src/system/SystemStats.cpp index 18b99c386bc5ad..c5be271ea16666 100644 --- a/src/system/SystemStats.cpp +++ b/src/system/SystemStats.cpp @@ -79,11 +79,6 @@ void UpdateSnapshot(Snapshot & aSnapshot) memcpy(&aSnapshot.mResourcesInUse, &sResourcesInUse, sizeof(aSnapshot.mResourcesInUse)); memcpy(&aSnapshot.mHighWatermarks, &sHighWatermarks, sizeof(aSnapshot.mHighWatermarks)); -#if CHIP_SYSTEM_CONFIG_USE_TIMER_POOL - chip::System::Timer::GetStatistics(aSnapshot.mResourcesInUse[kSystemLayer_NumTimers], - aSnapshot.mHighWatermarks[kSystemLayer_NumTimers]); -#endif // CHIP_SYSTEM_CONFIG_USE_TIMER_POOL - SYSTEM_STATS_UPDATE_LWIP_PBUF_COUNTS(); }