mirror of
https://github.com/torvalds/linux.git
synced 2024-10-26 06:54:41 +00: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 @@ exit_iounmap:
|
||||||
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