mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-17 04:27:06 +07:00
ASoC: fsi: tidyup: remove un-necessary operation from fsi_probe()
struct fsi_master *master became member of struct fsi_priv from
71f6e0645b
(ASoC: sh_fsi: avoid using global variable)
So, master = NULL is not necessary on fsi_probe() now.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
c35e005f31
commit
dbd4e51cd1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user