summaryrefslogtreecommitdiff
path: root/sound/soc/mxs
diff options
context:
space:
mode:
authorTang Bin <tangbin@cmss.chinamobile.com>2020-04-29 12:38:23 +0300
committerMark Brown <broonie@kernel.org>2020-04-29 16:23:19 +0300
commitda33574f7f1c110ec58ea43251a9a85801d6e015 (patch)
treeaca00aca1c867ee676f6e1e5b9caf75b1ca33df7 /sound/soc/mxs
parent77be181e2c8e435692424ff2e5ee3d0380cabb90 (diff)
downloadlinux-da33574f7f1c110ec58ea43251a9a85801d6e015.tar.xz
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>
Diffstat (limited to 'sound/soc/mxs')
-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);