Commit dbd4e51c authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: fsi: tidyup: remove un-necessary operation from fsi_probe()

struct fsi_master *master became member of struct fsi_priv from
71f6e064
(ASoC: sh_fsi: avoid using global variable)

So, master = NULL is not necessary on fsi_probe() now.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c35e005f
...@@ -1738,7 +1738,6 @@ static int fsi_probe(struct platform_device *pdev) ...@@ -1738,7 +1738,6 @@ static int fsi_probe(struct platform_device *pdev)
iounmap(master->base); iounmap(master->base);
exit_kfree: exit_kfree:
kfree(master); kfree(master);
master = NULL;
exit: exit:
return ret; return ret;
} }
......
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