From cb3e91ab1cb990c1b4162ba2b806b92701982cd0 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Thu, 14 Sep 2023 10:19:07 -0400 Subject: [PATCH] Remove CHIP_SYSTEM_CONFIG_USE_TIMER_POOL bits. (#29222) 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(); }