Commit a68a3b4e authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: fsi: remove un-necessary variable from fsi_dai_startup

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent cca1b235
...@@ -730,7 +730,6 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream, ...@@ -730,7 +730,6 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream,
u32 data; u32 data;
int is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK); int is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK);
int is_master; int is_master;
int ret = 0;
pm_runtime_get_sync(dai->dev); pm_runtime_get_sync(dai->dev);
...@@ -809,7 +808,7 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream, ...@@ -809,7 +808,7 @@ static int fsi_dai_startup(struct snd_pcm_substream *substream,
/* fifo init */ /* fifo init */
fsi_fifo_init(fsi, is_play, dai); fsi_fifo_init(fsi, is_play, dai);
return ret; return 0;
} }
static void fsi_dai_shutdown(struct snd_pcm_substream *substream, static void fsi_dai_shutdown(struct snd_pcm_substream *substream,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment