From: Greg Kroah-Hartman Date: Fri, 5 Oct 2012 22:09:38 +0000 (-0700) Subject: USB: usb.h: remove dbg() macro X-Git-Tag: v3.7-rc2~17^2~23 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=2c78040c3e2735b8286bbb848db0372b8d408e2d;p=~emulex%2Finfiniband.git USB: usb.h: remove dbg() macro There are no users of this macro anymore in the kernel tree, so finally delete it. Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/usb.h b/include/linux/usb.h index 07915a32fb9..10278d18709 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -1778,17 +1778,6 @@ static inline int usb_translate_errors(int error_code) extern void usb_register_notify(struct notifier_block *nb); extern void usb_unregister_notify(struct notifier_block *nb); -#ifdef DEBUG -#define dbg(format, arg...) \ - printk(KERN_DEBUG "%s: " format "\n", __FILE__, ##arg) -#else -#define dbg(format, arg...) \ -do { \ - if (0) \ - printk(KERN_DEBUG "%s: " format "\n", __FILE__, ##arg); \ -} while (0) -#endif - /* debugfs stuff */ extern struct dentry *usb_debug_root;