Skip to content

Commit

Permalink
ASoC: fsi: tidyup: remove un-necessary operation from fsi_probe()
Browse files Browse the repository at this point in the history
struct fsi_master *master became member of struct fsi_priv from
71f6e06
(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>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Sep 10, 2012
1 parent c35e005 commit dbd4e51
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/sh/fsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,6 @@ static int fsi_probe(struct platform_device *pdev)
iounmap(master->base);
exit_kfree:
kfree(master);
master = NULL;
exit:
return ret;
}
Expand Down

0 comments on commit dbd4e51

Please sign in to comment.