mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 23:57:46 +00:00
[style] remove redundant control flow (#3705)
This commit is contained in:
committed by
Jonathan Hui
parent
0de1fff570
commit
d32ca03a8b
@@ -661,8 +661,6 @@ exit:
|
||||
cachedResponse->Free();
|
||||
}
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
CoapMetadata::CoapMetadata(bool aConfirmable,
|
||||
|
||||
@@ -508,8 +508,6 @@ exit:
|
||||
{
|
||||
FinalizeDnsTransaction(*message, queryMetadata, NULL, 0, error);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
} // namespace Dns
|
||||
|
||||
@@ -384,8 +384,6 @@ exit:
|
||||
{
|
||||
FinalizeSntpTransaction(*message, queryMetadata, 0, error);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
} // namespace Sntp
|
||||
|
||||
@@ -580,8 +580,6 @@ exit:
|
||||
{
|
||||
otLogWarnArp("Error while processing address error notification: %s", otThreadErrorToString(error));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void AddressResolver::HandleAddressQuery(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo)
|
||||
|
||||
@@ -4012,8 +4012,6 @@ exit:
|
||||
|
||||
// send announce after received address solicit reply if needed
|
||||
InformPreviousChannel();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void MleRouter::HandleAddressSolicit(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo)
|
||||
|
||||
@@ -284,8 +284,6 @@ exit:
|
||||
{
|
||||
SendCommissioningSetResponse(aMessage, aMessageInfo, state);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void Leader::HandleCommissioningGet(void *aContext, otMessage *aMessage, const otMessageInfo *aMessageInfo)
|
||||
|
||||
@@ -824,7 +824,6 @@ void NcpBase::UpdateChangedProps(void)
|
||||
|
||||
exit:
|
||||
mDidInitialUpdates = true;
|
||||
return;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user