diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2012-09-10 05:14:10 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-10 05:27:05 -0400 |
commit | dbd4e51cd164e7d94b00c0c0dd3ac5517364a8fb (patch) | |
tree | dddaec5793b0c89a58681231e3987ace353ef881 /sound/soc/sh/fsi.c | |
parent | c35e005f3115cd27d85625805645b90ba961f16f (diff) |
ASoC: fsi: tidyup: remove un-necessary operation from fsi_probe()
struct fsi_master *master became member of struct fsi_priv from
71f6e0645be42f93c0f90dfcc93b9d2d277c2ee6
(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>
Diffstat (limited to 'sound/soc/sh/fsi.c')
-rw-r--r-- | sound/soc/sh/fsi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 8534989836aa..a5ee2faa1073 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -1738,7 +1738,6 @@ exit_iounmap: | |||
1738 | iounmap(master->base); | 1738 | iounmap(master->base); |
1739 | exit_kfree: | 1739 | exit_kfree: |
1740 | kfree(master); | 1740 | kfree(master); |
1741 | master = NULL; | ||
1742 | exit: | 1741 | exit: |
1743 | return ret; | 1742 | return ret; |
1744 | } | 1743 | } |