summaryrefslogtreecommitdiff
path: root/sound/soc/soc-pcm.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-27 10:11:26 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-04 17:19:40 (GMT)
commit5b6247abc90a94a38c7e7314191871792645aa6a (patch)
tree70d614e0b95f93e02faa59b0355294497cf96a86 /sound/soc/soc-pcm.c
parent98dd932b6a02b3eea2d6c671b48b2d5d7deb5afe (diff)
downloadlinux-fsl-qoriq-5b6247abc90a94a38c7e7314191871792645aa6a.tar.xz
ASoC: Remove needless unlikely()
There's no point in adding unlikely() annotations outside of hot paths and on systems using these features the annotation will always be wrong (as opposed to being something that only comes up once in a while) so the annotation may even be harmful. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-pcm.c')
-rw-r--r--sound/soc/soc-pcm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index 52a7259..49aa71e 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -319,8 +319,8 @@ static int soc_pcm_close(struct snd_pcm_substream *substream)
cpu_dai->runtime = NULL;
if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
- if (unlikely(codec->ignore_pmdown_time ||
- rtd->dai_link->ignore_pmdown_time)) {
+ if (codec->ignore_pmdown_time ||
+ rtd->dai_link->ignore_pmdown_time) {
/* powered down playback stream now */
snd_soc_dapm_stream_event(rtd,
codec_dai->driver->playback.stream_name,