From a411e563d6276f4ddbd50b6091f24f161dc5d5ff Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Mon, 15 Jun 2026 07:31:47 -0700 Subject: [PATCH] [mle] remove unused router threshold variables (#13239) This commit removes `mRouterUpgradeThreshold` and `mRouterDowngradeThreshold` from the `Mle` class. These variables were previously moved into the `RoleTransitioner` class, but their declarations in `Mle` were left behind. Removing them cleans up the class definition and eliminates unused state. --- src/core/thread/mle.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/thread/mle.hpp b/src/core/thread/mle.hpp index 7dbc9a38b..c4f2d5dd9 100644 --- a/src/core/thread/mle.hpp +++ b/src/core/thread/mle.hpp @@ -2597,8 +2597,6 @@ private: uint8_t mRouterId; uint8_t mPreviousRouterId; uint8_t mNetworkIdTimeout; - uint8_t mRouterUpgradeThreshold; - uint8_t mRouterDowngradeThreshold; uint8_t mLeaderWeight; uint8_t mPreviousPartitionRouterIdSequence; uint8_t mPreviousPartitionIdTimeout;