summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-06-30 21:56:41 +0200
committerTakashi Iwai <tiwai@suse.de>2016-07-07 16:30:54 +0200
commit97fce6607778844fed04caaeced68b7e18b8d91c (patch)
tree7a4860af7cf94eab89b9d83e02009b30f977a76e
parentd61d71a9bbbd7398d152bce6a65c2e460e8759f6 (diff)
downloadalsa-lib-97fce6607778844fed04caaeced68b7e18b8d91c.tar.gz
pcm: Remove superfluous rmb() from PCM meter plugin
rmb() is still left in the code without any actual meaning there just before the atomic operation. Let's clean it up. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/pcm/pcm_meter.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pcm/pcm_meter.c b/src/pcm/pcm_meter.c
index 1b0ccb40..d71af7a6 100644
--- a/src/pcm/pcm_meter.c
+++ b/src/pcm/pcm_meter.c
@@ -136,7 +136,6 @@ static int snd_pcm_meter_update_scope(snd_pcm_t *pcm)
_again:
rptr = *pcm->hw.ptr;
old_rptr = meter->rptr;
- rmb();
if (atomic_read(&meter->reset)) {
reset = 1;
atomic_dec(&meter->reset);