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>
This commit is contained in:
parent
77be181e2c
commit
da33574f7f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue