Commit da33574f authored by Tang Bin's avatar Tang Bin Committed by Mark Brown

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: default avatarZhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20200429093823.1372-1-tangbin@cmss.chinamobile.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 77be181e
...@@ -733,7 +733,7 @@ static int mxs_saif_probe(struct platform_device *pdev) ...@@ -733,7 +733,7 @@ static int mxs_saif_probe(struct platform_device *pdev)
{ {
struct device_node *np = pdev->dev.of_node; struct device_node *np = pdev->dev.of_node;
struct mxs_saif *saif; struct mxs_saif *saif;
int irq, ret = 0; int irq, ret;
struct device_node *master; struct device_node *master;
saif = devm_kzalloc(&pdev->dev, sizeof(*saif), GFP_KERNEL); saif = devm_kzalloc(&pdev->dev, sizeof(*saif), GFP_KERNEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment