summaryrefslogtreecommitdiffstats
path: root/sound/aoa
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-03-07 13:24:30 +0100
committerTakashi Iwai <tiwai@suse.de>2011-03-08 13:00:09 +0100
commit0e82e5fa97614c9ca3efca5f8dca69dffd1c0ec0 (patch)
tree697955215071627ca3209ec51cde532b53a5973d /sound/aoa
parent7c7335877105364f7f5181e80ff34206b54be81f (diff)
downloadlinux-stable-0e82e5fa97614c9ca3efca5f8dca69dffd1c0ec0.tar.gz
linux-stable-0e82e5fa97614c9ca3efca5f8dca69dffd1c0ec0.tar.bz2
linux-stable-0e82e5fa97614c9ca3efca5f8dca69dffd1c0ec0.zip
ALSA: control: clean up snd_ctl_hole_check()
The return value of snd_ctl_hole_check() is used only to detect whether to continue the loop in snd_ctl_find_hole() or not, so we can simplify the code by changing this return type to a boolean. Also rename this function to better show what it actually does. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa')
0 files changed, 0 insertions, 0 deletions