ALSA: usb-audio: make hwc_debug a noop in case HW_CONST_DEBUG is not set
authorDaniel Mack <zonque@gmail.com>
Wed, 18 May 2011 09:28:39 +0000 (11:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 18 May 2011 09:44:35 +0000 (11:44 +0200)
commit60ed286a61b43e3fedf18e63f2d71b758f3505aa
tree2ed34a95001e561a3dbb4b331edee677273cb355
parent23dc05a33fd45c1f53b51e6ad9a209bf021a16c8
ALSA: usb-audio: make hwc_debug a noop in case HW_CONST_DEBUG is not set

Just defining it to nothing is dangerous as it can alter the code
execution flow, for example when used in as only function in a
conditional code block.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/debug.h