[style] return void where code always returns OT_ERROR_NONE (#3543)

This commit is contained in:
Jonathan Hui
2019-02-01 09:03:24 -08:00
committed by GitHub
parent c7911adcb1
commit ac89fd5496
58 changed files with 217 additions and 399 deletions
+1 -1
View File
@@ -451,7 +451,7 @@ otError otThreadSetEnabled(otInstance *aInstance, bool aEnabled)
}
else
{
error = instance.GetThreadNetif().GetMle().Stop(true);
instance.GetThreadNetif().GetMle().Stop(true);
}
exit: