ot::LinkedList::Remove() method
Removes an entry from the linked list.
Arguments
aEntry
A reference to an entry to remove.
Return value
kErrorNone The entry was successfully removed from the list. kErrorNotFound Could not find the entry in the list.
Notes
This method does not change the removed entry @p aEntry itself (it is `const`), i.e., the entry next pointer of @p aEntry stays as before.