mirror of
https://github.com/espressif/openthread.git
synced 2026-07-06 04:10:22 +00:00
[style] return void where code always returns OT_ERROR_NONE (#3543)
This commit is contained in:
@@ -451,7 +451,7 @@ otError otThreadSetEnabled(otInstance *aInstance, bool aEnabled)
|
||||
}
|
||||
else
|
||||
{
|
||||
error = instance.GetThreadNetif().GetMle().Stop(true);
|
||||
instance.GetThreadNetif().GetMle().Stop(true);
|
||||
}
|
||||
|
||||
exit:
|
||||
|
||||
Reference in New Issue
Block a user