diff options
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2023-05-05 18:52:44 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-05-05 19:23:53 +0300 |
commit | ee2dd703470242f1672403e83f827391afeca808 (patch) | |
tree | 3f7332d3ebd1541864535e69c8547fc04ed0b592 /sound/pci/hda | |
parent | 6ffa6f397e80bc196ed554e4dabfe43ecc0fe7c1 (diff) | |
download | linux-ee2dd703470242f1672403e83f827391afeca808.tar.xz |
ALSA: pcm: use exit controlled loop in snd_pcm_playback_silence()
We already know that `frames` is greater than zero, because we just
checked it. So we don't need to check the loop condition on the first
iteration.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230505155244.2312199-7-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
0 files changed, 0 insertions, 0 deletions