]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: fsi: remove un-necessary variable from fsi_dai_startup
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 12 Oct 2010 02:39:50 +0000 (11:39 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Oct 2010 10:02:45 +0000 (11:02 +0100)
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>
sound/soc/sh/fsi.c

index aa2cbb1ea98899c3c1b4c4eade23af3bf895200c..d68dcbb8dc1fc6217182b3284d5abe3ae533ead7 100644 (file)
@@ -730,7 +730,6 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream,
        u32 data;
        int is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
        int is_master;
-       int ret = 0;
 
        pm_runtime_get_sync(dai->dev);
 
@@ -809,7 +808,7 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream,
        /* fifo init */
        fsi_fifo_init(fsi, is_play, dai);
 
-       return ret;
+       return 0;
 }
 
 static void fsi_dai_shutdown(struct snd_pcm_substream *substream,