Commit 04704e54 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

[PATCH] USB: fix up usb.h's dbg macro to take up less space

parent 2f3829ff
...@@ -974,7 +974,7 @@ void usb_show_device(struct usb_device *); ...@@ -974,7 +974,7 @@ void usb_show_device(struct usb_device *);
void usb_show_string(struct usb_device *dev, char *id, int index); void usb_show_string(struct usb_device *dev, char *id, int index);
#ifdef DEBUG #ifdef DEBUG
#define dbg(format, arg...) printk(KERN_DEBUG __FILE__ ": " format "\n" , ## arg) #define dbg(format, arg...) printk(KERN_DEBUG "%s: " format "\n" , __FILE__ , ## arg)
#else #else
#define dbg(format, arg...) do {} while (0) #define dbg(format, arg...) do {} while (0)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment