History

USB: usb.h: remove dbg() macro

There are no users of this macro anymore in the kernel tree, so finally delete it.

Greg Kroah-Hartman committed 14 years ago

Commit 2c780401 parent db5c8b51 file · +0 −11Browse files

Unified · Split

include/linux/usb.h+0−11
@@ -1778,17 +1778,6 @@ static inline int usb_translate_errors(int error_code) · 1777 unmodified lines
17781778 extern void usb_register_notify(struct notifier_block *nb);
17791779 extern void usb_unregister_notify(struct notifier_block *nb);
17801780
1781−#ifdef DEBUG
1782−#define dbg(format, arg...) \
1783− printk(KERN_DEBUG "%s: " format "\n", __FILE__, ##arg)
1784−#else
1785−#define dbg(format, arg...) \
1786−do { \
1787− if (0) \
1788− printk(KERN_DEBUG "%s: " format "\n", __FILE__, ##arg); \
1789−} while (0)
1790−#endif
1791−
17921781 /* debugfs stuff */
17931782 extern struct dentry *usb_debug_root;
17941783