From: Clemens Ladisch Date: Mon, 7 Mar 2011 12:24:30 +0000 (+0100) Subject: ALSA: control: clean up snd_ctl_hole_check() X-Git-Tag: v2.6.39-rc1~424^2^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e82e5fa97614c9ca3efca5f8dca69dffd1c0ec0;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed