Skip to content

Commit

Permalink
USB: remove warn() 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 warn() and
use the system-wide standard of dev_warn() wherever possible.  In the
few places that will not work out, use a basic printk().

Now that all in-tree users are gone, remove the macro.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 7, 2009
1 parent 5aa6375 commit 338b67b
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 @@ -1744,8 +1744,6 @@ extern void usb_unregister_notify(struct notifier_block *nb);
format "\n" , ## arg)
#define info(format, arg...) printk(KERN_INFO KBUILD_MODNAME ": " \
format "\n" , ## arg)
#define warn(format, arg...) printk(KERN_WARNING KBUILD_MODNAME ": " \
format "\n" , ## arg)

#endif /* __KERNEL__ */

Expand Down

0 comments on commit 338b67b

Please sign in to comment.