<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 23, 2022 at 2:43 AM Pierre-Louis Bossart <<a href="mailto:pierre-louis.bossart@linux.intel.com">pierre-louis.bossart@linux.intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">cppcheck warning:<br>
<br>
sound/soc/fsl/fsl_utils.c:127:10: style: Variable 'ret' is assigned a<br>
value that is never used. [unreadVariable]<br>
int ret = 0;<br>
^<br>
<br>
Signed-off-by: Pierre-Louis Bossart <<a href="mailto:pierre-louis.bossart@linux.intel.com" target="_blank">pierre-louis.bossart@linux.intel.com</a>><br>
Reviewed-by: Bard Liao <<a href="mailto:yung-chuan.liao@linux.intel.com" target="_blank">yung-chuan.liao@linux.intel.com</a>><br>
Reviewed-by: Kai Vehmanen <<a href="mailto:kai.vehmanen@linux.intel.com" target="_blank">kai.vehmanen@linux.intel.com</a>><br>
Reviewed-by: Chao Song <<a href="mailto:chao.song@intel.com" target="_blank">chao.song@intel.com</a>><br></blockquote><div><br></div><div>Acked-by: Shengjiu Wang <<a href="mailto:shengjiu.wang@gmail.com">shengjiu.wang@gmail.com</a>></div><div><br></div><div>Best regards</div><div>Wang Shengjiu </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
---<br>
sound/soc/fsl/fsl_utils.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/sound/soc/fsl/fsl_utils.c b/sound/soc/fsl/fsl_utils.c<br>
index d0fc430f7033d..a5ab27c2f711c 100644<br>
--- a/sound/soc/fsl/fsl_utils.c<br>
+++ b/sound/soc/fsl/fsl_utils.c<br>
@@ -124,7 +124,7 @@ void fsl_asoc_reparent_pll_clocks(struct device *dev, struct clk *clk,<br>
{<br>
struct clk *p, *pll = NULL, *npll = NULL;<br>
bool reparent = false;<br>
- int ret = 0;<br>
+ int ret;<br>
<br>
if (!clk || !pll8k_clk || !pll11k_clk)<br>
return;<br>
-- <br>
2.34.1<br>
<br>
</blockquote></div></div>