[style] remove redundant control flow (#3705)

This commit is contained in:
Jonathan Hui
2019-03-22 08:12:26 -07:00
committed by Jonathan Hui
parent 0de1fff570
commit d32ca03a8b
7 changed files with 0 additions and 13 deletions
-2
View File
@@ -661,8 +661,6 @@ exit:
cachedResponse->Free();
}
}
return;
}
CoapMetadata::CoapMetadata(bool aConfirmable,
-2
View File
@@ -508,8 +508,6 @@ exit:
{
FinalizeDnsTransaction(*message, queryMetadata, NULL, 0, error);
}
return;
}
} // namespace Dns
-2
View File
@@ -384,8 +384,6 @@ exit:
{
FinalizeSntpTransaction(*message, queryMetadata, 0, error);
}
return;
}
} // namespace Sntp
-2
View File
@@ -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)
-2
View File
@@ -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)
-1
View File
@@ -824,7 +824,6 @@ void NcpBase::UpdateChangedProps(void)
exit:
mDidInitialUpdates = true;
return;
}
// ----------------------------------------------------------------------------