summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2020-04-29 11:38:23 +0200
committerMark Brown <broonie@kernel.org>2020-04-29 15:23:19 +0200
commitda33574f7f1c110ec58ea43251a9a85801d6e015 (patch)
treeaca00aca1c867ee676f6e1e5b9caf75b1ca33df7
parentASoc: nau8810: add AUX related dapm widgets and routes (diff)
downloadlinux-da33574f7f1c110ec58ea43251a9a85801d6e015.tar.xz
linux-da33574f7f1c110ec58ea43251a9a85801d6e015.zip
ASoC: mxs-saif: Fix unused assignment
Delete unused initialized value, because 'ret' will be assigined by the function of_alias_get_id(). Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com> Link: https://lore.kernel.org/r/20200429093823.1372-1-tangbin@cmss.chinamobile.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/mxs/mxs-saif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index 64c095b91d35..07f8cf9980e3 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -733,7 +733,7 @@ static int mxs_saif_probe(struct platform_device *pdev)
{
struct device_node *np = pdev->dev.of_node;
struct mxs_saif *saif;
- int irq, ret = 0;
+ int irq, ret;
struct device_node *master;
saif = devm_kzalloc(&pdev->dev, sizeof(*saif), GFP_KERNEL);