From: Kuninori Morimoto Date: Tue, 12 Oct 2010 02:39:50 +0000 (+0900) Subject: ASoC: fsi: remove un-necessary variable from fsi_dai_startup X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a68a3b4ed4ecafcf80f4272e8e1f0670b387041e;p=openwrt%2Fstaging%2Fblogic.git ASoC: fsi: remove un-necessary variable from fsi_dai_startup Signed-off-by: Kuninori Morimoto Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- 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, 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,