diff options
| author | 2022-07-25 16:09:24 +0300 | |
|---|---|---|
| committer | 2022-07-26 11:46:52 +0100 | |
| commit | d346a4ad305bf3f99e5824e0c132fac7e0b53657 (patch) | |
| tree | 042faf9eb270697067e3be38622d8b81a570c68f /tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com | |
| parent | ASoC: mchp-spdifrx: use single tab indent for structure (diff) | |
| download | linux-dev-d346a4ad305bf3f99e5824e0c132fac7e0b53657.tar.xz linux-dev-d346a4ad305bf3f99e5824e0c132fac7e0b53657.zip | |
ASoC: mchp-spdiftx: return directly ret
Avoid having patterns like:
int ret;
// ...
ret = 0;
// ...
ret = call_function();
if (ret)
return ret;
return 0;
and return directly ret for all cases.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220725130925.1781791-5-claudiu.beznea@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/util/include/linux/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
