提交 dbd4e51c 编写于 作者: K Kuninori Morimoto 提交者: 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: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 c35e005f
......@@ -1738,7 +1738,6 @@ static int fsi_probe(struct platform_device *pdev)
iounmap(master->base);
exit_kfree:
kfree(master);
master = NULL;
exit:
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册