From: Takashi Iwai Date: Fri, 7 Nov 2008 08:08:15 +0000 (+0100) Subject: ALSA: Evaluate condition in snd_BUG_ON() in non-debugging case X-Git-Tag: v2.6.29-rc1~590^2~9^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=945eed02cd619f525e097319cd3d18c58d01da87;p=pandora-kernel.git ALSA: Evaluate condition in snd_BUG_ON() in non-debugging case Change snd_BUG_ON() to evaluate the given condition, at least, in syntax for avoiding compile warnings such as unused variables. The compiler should optimize out the condition evaluation in the real code, though. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed