f913582190
cppcheck reports the following warning: sound/soc/rockchip/rockchip_i2s_tdm.c:599:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit] return ret; ^ sound/soc/rockchip/rockchip_i2s_tdm.c:594:6: note: If condition 'ret' is true, the function will return/exit if (ret) ^ sound/soc/rockchip/rockchip_i2s_tdm.c:599:9: note: Returning identical expression 'ret' return ret; ^ While the code is not wrong, it's clearer to return 0 directly. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20211025185933.144327-9-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rk3288_hdmi_analog.c | ||
rk3399_gru_sound.c | ||
rockchip_i2s.c | ||
rockchip_i2s.h | ||
rockchip_i2s_tdm.c | ||
rockchip_i2s_tdm.h | ||
rockchip_max98090.c | ||
rockchip_pdm.c | ||
rockchip_pdm.h | ||
rockchip_rt5645.c | ||
rockchip_spdif.c | ||
rockchip_spdif.h |