[logging] remove otLogFunc<Entry/Exit> macros (#2438)

This commit is contained in:
Abtin Keshavarzian
2017-12-22 08:41:05 -08:00
committed by Jonathan Hui
parent 16f3213973
commit f366e4f987
13 changed files with 29 additions and 184 deletions
-3
View File
@@ -480,8 +480,6 @@ otError otThreadSetEnabled(otInstance *aInstance, bool aEnabled)
otError error = OT_ERROR_NONE;
Instance &instance = *static_cast<Instance *>(aInstance);
otLogFuncEntry();
if (aEnabled)
{
VerifyOrExit(instance.GetThreadNetif().GetMac().GetPanId() != Mac::kPanIdBroadcast,
@@ -494,7 +492,6 @@ otError otThreadSetEnabled(otInstance *aInstance, bool aEnabled)
}
exit:
otLogFuncExitErr(error);
return error;
}