From ce18a1edaa6f92409fa33d32dfbd923e0ab8bea8 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Mon, 29 Jul 2019 08:22:18 -0700 Subject: [PATCH] [mle] remove unused member variables (#4027) --- src/core/thread/mle.hpp | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/core/thread/mle.hpp b/src/core/thread/mle.hpp index fd081c5cb..eb902dbe8 100644 --- a/src/core/thread/mle.hpp +++ b/src/core/thread/mle.hpp @@ -1639,21 +1639,18 @@ protected: static const char *ReattachStateToString(ReattachState aState); #endif - LeaderDataTlv mLeaderData; ///< Last received Leader Data TLV. - bool mRetrieveNewNetworkData; ///< Indicating new Network Data is needed if set. - otDeviceRole mRole; ///< Current Thread role. - Router mParent; ///< Parent information. - uint8_t mDeviceMode; ///< Device mode setting. - AttachState mAttachState; ///< The parent request state. - ReattachState mReattachState; ///< Reattach state - uint16_t mAttachCounter; ///< Attach attempt counter. - uint16_t mAnnounceDelay; ///< Delay in between sending Announce messages during attach. - TimerMilli mAttachTimer; ///< The timer for driving the attach process. - TimerMilli mDelayedResponseTimer; ///< The timer to delay MLE responses. - TimerMilli mMessageTransmissionTimer; ///< The timer for (re-)sending of MLE messages (e.g. Child Update). - uint32_t mLastPartitionId; ///< The partition ID of the previous Thread partition - uint8_t mLastPartitionRouterIdSequence; ///< The router ID sequence from the previous Thread partition - uint8_t mLastPartitionIdTimeout; ///< The time remaining to avoid the previous Thread partition + LeaderDataTlv mLeaderData; ///< Last received Leader Data TLV. + bool mRetrieveNewNetworkData; ///< Indicating new Network Data is needed if set. + otDeviceRole mRole; ///< Current Thread role. + Router mParent; ///< Parent information. + uint8_t mDeviceMode; ///< Device mode setting. + AttachState mAttachState; ///< The parent request state. + ReattachState mReattachState; ///< Reattach state + uint16_t mAttachCounter; ///< Attach attempt counter. + uint16_t mAnnounceDelay; ///< Delay in between sending Announce messages during attach. + TimerMilli mAttachTimer; ///< The timer for driving the attach process. + TimerMilli mDelayedResponseTimer; ///< The timer to delay MLE responses. + TimerMilli mMessageTransmissionTimer; ///< The timer for (re-)sending of MLE messages (e.g. Child Update). uint8_t mParentLeaderCost; private: