Skip to content

Commit

Permalink
ASoC: fsi: remove un-necessary variable from fsi_dai_startup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Mark Brown committed Oct 12, 2010
1 parent cca1b23 commit a68a3b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sound/soc/sh/fsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a68a3b4

Please sign in to comment.