ASoC: fsl: fsl-utils: remove useless assignment
cppcheck warning: sound/soc/fsl/fsl_utils.c:127:10: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] int ret = 0; ^ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Chao Song <chao.song@intel.com> Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com> Link: https://lore.kernel.org/r/20220822184239.169757-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
c9a9b4dbc1
commit
3653a6a2a7
@ -124,7 +124,7 @@ void fsl_asoc_reparent_pll_clocks(struct device *dev, struct clk *clk,
|
||||
{
|
||||
struct clk *p, *pll = NULL, *npll = NULL;
|
||||
bool reparent = false;
|
||||
int ret = 0;
|
||||
int ret;
|
||||
|
||||
if (!clk || !pll8k_clk || !pll11k_clk)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user