diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2010-10-11 22:39:50 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-12 06:02:45 -0400 |
commit | a68a3b4ed4ecafcf80f4272e8e1f0670b387041e (patch) | |
tree | 6413303d7a9c606a7d3d3e0631c5b4d31d307884 /sound/soc/sh | |
parent | cca1b2353a364fd51619d0f304dd9681282b864c (diff) |
ASoC: fsi: remove un-necessary variable from fsi_dai_startup
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r-- | sound/soc/sh/fsi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index aa2cbb1ea988..d68dcbb8dc1f 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -730,7 +730,6 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream, | |||
730 | u32 data; | 730 | u32 data; |
731 | int is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); | 731 | int is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); |
732 | int is_master; | 732 | int is_master; |
733 | int ret = 0; | ||
734 | 733 | ||
735 | pm_runtime_get_sync(dai->dev); | 734 | pm_runtime_get_sync(dai->dev); |
736 | 735 | ||
@@ -809,7 +808,7 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream, | |||
809 | /* fifo init */ | 808 | /* fifo init */ |
810 | fsi_fifo_init(fsi, is_play, dai); | 809 | fsi_fifo_init(fsi, is_play, dai); |
811 | 810 | ||
812 | return ret; | 811 | return 0; |
813 | } | 812 | } |
814 | 813 | ||
815 | static void fsi_dai_shutdown(struct snd_pcm_substream *substream, | 814 | static void fsi_dai_shutdown(struct snd_pcm_substream *substream, |