Skip to content

Commit

Permalink
Remove unused error code check. This error value can't be returned (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinez-silabs authored and pull[bot] committed Aug 21, 2023
1 parent 3c26097 commit 1219470
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/platform/silabs/SilabsConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,12 +435,6 @@ CHIP_ERROR SilabsConfig::FactoryResetConfig(void)
return err2;
});

// Return success at end of iterations.
if (err == CHIP_END_OF_INPUT)
{
err = CHIP_NO_ERROR;
}

return err;
}

Expand Down

0 comments on commit 1219470

Please sign in to comment.