mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 17:37:46 +00:00
[network-data] remove unused/undefined method decelerations (#5480)
This commit is contained in:
@@ -170,17 +170,6 @@ public:
|
||||
const Message &aMessage,
|
||||
uint16_t aMessageOffset);
|
||||
|
||||
/**
|
||||
* This method sends a Server Data Notification message to the Leader indicating an invalid RLOC16.
|
||||
*
|
||||
* @param[in] aRloc16 The invalid RLOC16 to notify.
|
||||
*
|
||||
* @retval OT_ERROR_NONE Successfully enqueued the notification message.
|
||||
* @retval OT_ERROR_NO_BUFS Insufficient message buffers to generate the notification message.
|
||||
*
|
||||
*/
|
||||
otError SendServerDataNotification(uint16_t aRloc16);
|
||||
|
||||
/**
|
||||
* This method returns a pointer to the Commissioning Data.
|
||||
*
|
||||
|
||||
@@ -1384,7 +1384,7 @@ otError Leader::RemoveStaleChildEntries(Coap::ResponseHandler aHandler, void *aC
|
||||
Get<ChildTable>().FindChild(rloc16, Child::kInStateValid) == nullptr)
|
||||
{
|
||||
// In Thread 1.1 Specification 5.15.6.1, only one RLOC16 TLV entry may appear in SRV_DATA.ntf.
|
||||
error = NetworkData::SendServerDataNotification(rloc16, aHandler, aContext);
|
||||
error = SendServerDataNotification(rloc16, aHandler, aContext);
|
||||
ExitNow();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -379,7 +379,7 @@ otError Local::UpdateInconsistentServerData(Coap::ResponseHandler aHandler, void
|
||||
mOldRloc = Mac::kShortAddrInvalid;
|
||||
}
|
||||
|
||||
SuccessOrExit(error = NetworkData::SendServerDataNotification(mOldRloc, aHandler, aContext));
|
||||
SuccessOrExit(error = SendServerDataNotification(mOldRloc, aHandler, aContext));
|
||||
mOldRloc = rloc;
|
||||
|
||||
exit:
|
||||
|
||||
@@ -82,7 +82,6 @@ public:
|
||||
bool IsTmfMessage(const Ip6::MessageInfo &aMessageInfo) const;
|
||||
|
||||
private:
|
||||
otError Start(uint16_t aPort);
|
||||
static otError Filter(const ot::Coap::Message &aMessage, const Ip6::MessageInfo &aMessageInfo, void *aContext);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user