18 May
2011
18 May
'11
11:28 a.m.
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 --- sound/usb/debug.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/usb/debug.h b/sound/usb/debug.h index 343ec2d..5803017 100644 --- a/sound/usb/debug.h +++ b/sound/usb/debug.h @@ -8,7 +8,7 @@ #ifdef HW_CONST_DEBUG #define hwc_debug(fmt, args...) printk(KERN_DEBUG fmt, ##args) #else -#define hwc_debug(fmt, args...) /**/ +#define hwc_debug(fmt, args...) do { } while(0) #endif
#endif /* __USBAUDIO_DEBUG_H */
--
1.7.5.1