There are no users of this macro anymore in the kernel tree, so finally delete it.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -1778,17 +1778,6 @@ static inline int usb_translate_errors(int error_code) · 1777 unmodified lines | ||
| 1778 | 1778 | extern void usb_register_notify(struct notifier_block *nb); |
| 1779 | 1779 | extern 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...) \ | |
| 1786 | −do { \ | |
| 1787 | − if (0) \ | |
| 1788 | − printk(KERN_DEBUG "%s: " format "\n", __FILE__, ##arg); \ | |
| 1789 | −} while (0) | |
| 1790 | −#endif | |
| 1791 | − | |
| 1792 | 1781 | /* debugfs stuff */ |
| 1793 | 1782 | extern struct dentry *usb_debug_root; |
| 1794 | 1783 | |