mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-16 22:05:18 -05:00
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>
This commit is contained in:
parent
d61d71a9bb
commit
97fce66077
1 changed files with 0 additions and 1 deletions
|
|
@ -136,7 +136,6 @@ static int snd_pcm_meter_update_scope(snd_pcm_t *pcm)
|
||||||
_again:
|
_again:
|
||||||
rptr = *pcm->hw.ptr;
|
rptr = *pcm->hw.ptr;
|
||||||
old_rptr = meter->rptr;
|
old_rptr = meter->rptr;
|
||||||
rmb();
|
|
||||||
if (atomic_read(&meter->reset)) {
|
if (atomic_read(&meter->reset)) {
|
||||||
reset = 1;
|
reset = 1;
|
||||||
atomic_dec(&meter->reset);
|
atomic_dec(&meter->reset);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue