Skip to content

Commit

Permalink
USB: remove info() macro from usb.h
Browse files Browse the repository at this point in the history
USB should not be having it's own printk macros, so remove info() and
use the system-wide standard of dev_info() wherever possible.

No one in the tree is using the macro, so it can now be removed.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 7, 2009
1 parent 338b67b commit 34c65d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -1742,8 +1742,6 @@ extern void usb_unregister_notify(struct notifier_block *nb);

#define err(format, arg...) printk(KERN_ERR KBUILD_MODNAME ": " \
format "\n" , ## arg)
#define info(format, arg...) printk(KERN_INFO KBUILD_MODNAME ": " \
format "\n" , ## arg)

#endif /* __KERNEL__ */

Expand Down

0 comments on commit 34c65d8

Please sign in to comment.