[alsa-devel] [PATCH 2/3] ASoC: fsi: tidyup: remove un-necessary operation from fsi_probe()
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Mon Sep 10 11:14:10 CEST 2012
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 at renesas.com>
---
sound/soc/sh/fsi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index 8534989..a5ee2fa 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -1738,7 +1738,6 @@ exit_iounmap:
iounmap(master->base);
exit_kfree:
kfree(master);
- master = NULL;
exit:
return ret;
}
--
1.7.9.5
More information about the Alsa-devel
mailing list