[network-data] remove unused/undefined method decelerations (#5480)

This commit is contained in:
Abtin Keshavarzian
2020-09-01 14:29:42 -07:00
committed by GitHub
parent d16d202179
commit 002cc8e912
4 changed files with 2 additions and 14 deletions
-11
View File
@@ -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.
*
+1 -1
View File
@@ -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();
}
}
+1 -1
View File
@@ -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:
-1
View File
@@ -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);
};