Skip to content

Commit

Permalink
ASoC: mxs-saif: Fix unused assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tang Bin authored and Mark Brown committed Apr 29, 2020
1 parent 77be181 commit da33574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/mxs/mxs-saif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit da33574

Please sign in to comment.