Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c78040c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent db5c8b52
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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;