diff options
author | 2023-05-05 17:52:44 +0200 | |
---|---|---|
committer | 2023-05-05 18:23:53 +0200 | |
commit | ee2dd703470242f1672403e83f827391afeca808 (patch) | |
tree | 3f7332d3ebd1541864535e69c8547fc04ed0b592 /scripts/generate_rust_analyzer.py | |
parent | ALSA: pcm: simplify top-up mode init in snd_pcm_playback_silence() (diff) | |
download | linux-rng-ee2dd703470242f1672403e83f827391afeca808.tar.xz linux-rng-ee2dd703470242f1672403e83f827391afeca808.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions