mirror of
https://github.com/espressif/openthread.git
synced 2026-08-10 20:57:47 +00:00
[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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user