[network-data] fix pointless integer comparison warning (#2239)

This commit is contained in:
Jonathan Hui
2017-10-04 08:44:11 -07:00
committed by GitHub
parent 6dda5c8408
commit 6dba17317c
+1 -1
View File
@@ -484,7 +484,7 @@ public:
* @retval TRUE the TLV appears to be well-formed.
*
*/
bool IsValid(void) const { return GetLength() <= sizeof(*this) - sizeof(ThreadTlv); }
bool IsValid(void) const { return true; }
/**
* This method returns a pointer to the Network Data TLVs.