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

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

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