Skip to content

Commit

Permalink
ASoC: compress: Remove some extraneous blank lines
Browse files Browse the repository at this point in the history
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Charles Keepax authored and Mark Brown committed Jan 26, 2018
1 parent 2f75ab7 commit b2154d7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/soc/soc-compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ static int soc_compr_open_fe(struct snd_compr_stream *cstream)
}
}


if (platform && platform->driver->compr_ops && platform->driver->compr_ops->open) {
ret = platform->driver->compr_ops->open(cstream);
if (ret < 0) {
Expand Down Expand Up @@ -307,7 +306,6 @@ static int soc_compr_free(struct snd_compr_stream *cstream)
if (!codec_dai->active)
codec_dai->rate = 0;


if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->shutdown)
rtd->dai_link->compr_ops->shutdown(cstream);

Expand Down Expand Up @@ -460,7 +458,6 @@ static int soc_compr_trigger(struct snd_compr_stream *cstream, int cmd)
if (cpu_dai->driver->cops && cpu_dai->driver->cops->trigger)
cpu_dai->driver->cops->trigger(cstream, cmd, cpu_dai);


switch (cmd) {
case SNDRV_PCM_TRIGGER_START:
snd_soc_dai_digital_mute(codec_dai, 0, cstream->direction);
Expand Down

0 comments on commit b2154d7

Please sign in to comment.