diff options
author | Tang Bin <tangbin@cmss.chinamobile.com> | 2020-04-29 17:38:23 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-29 14:23:19 +0100 |
commit | da33574f7f1c110ec58ea43251a9a85801d6e015 (patch) | |
tree | aca00aca1c867ee676f6e1e5b9caf75b1ca33df7 /sound/soc | |
parent | 77be181e2c8e435692424ff2e5ee3d0380cabb90 (diff) | |
download | linux-da33574f7f1c110ec58ea43251a9a85801d6e015.tar.bz2 |
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')
-rw-r--r-- | sound/soc/mxs/mxs-saif.c | 2 |
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); |