diff options
author | Dan Carpenter <error27@gmail.com> | 2010-03-03 02:13:49 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-03 16:41:42 -0500 |
commit | 282572b5ab99cf27073210ca60b80dd085e1a469 (patch) | |
tree | 223db4faabe0ea81bb99aa9458a5b2626798fa08 /sound/pci/hda | |
parent | e61e642c2a0dc283c52cec76a223ac0699773633 (diff) |
ALSA: riptide: clean up while loop
If getpaths() returned an odd number this would be a buffer under-run and an
endless loop. It turns out that getpaths() can only return even numbers, but
let's make it easy for people auditing code. With the new code you don't
need to look at getpaths().
This silences a smatch warning.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
0 files changed, 0 insertions, 0 deletions