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 Signed-off-by: Takashi Iwai
#ifndef __USBAUDIO_DEBUG_H #define __USBAUDIO_DEBUG_H /* * h/w constraints */ #ifdef HW_CONST_DEBUG #define hwc_debug(fmt, args...) printk(KERN_DEBUG fmt, ##args) #else #define hwc_debug(fmt, args...) do { } while(0) #endif #endif /* __USBAUDIO_DEBUG_H */