Skip to content

Commit

Permalink
ASoC: fsl: fsl-utils: remove useless assignment
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Reviewed-by: Chao Song <[email protected]>
Acked-by: Shengjiu Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
plbossart authored and broonie committed Aug 31, 2022
1 parent c9a9b4d commit 3653a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/fsl/fsl_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3653a6a

Please sign in to comment.