mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 06:02:38 +00:00
ASoC: Intel: bytcht_cx2072x: simplify return handling
Fix cppcheck warning: sound/soc/intel/boards/bytcht_cx2072x.c:102:9: warning: Identical condition and return expression 'ret', return value is always 0 [identicalConditionAfterEarlyExit] Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200813175839.59422-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
1e6444271c
commit
9c7deb0576
@ -99,7 +99,7 @@ static int byt_cht_cx2072x_init(struct snd_soc_pcm_runtime *rtd)
|
||||
|
||||
snd_soc_dai_set_bclk_ratio(asoc_rtd_to_codec(rtd, 0), 50);
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int byt_cht_cx2072x_fixup(struct snd_soc_pcm_runtime *rtd,
|
||||
|
Loading…
Reference in New Issue
Block a user