From: Greg Kroah-Hartman Date: Thu, 14 Aug 2008 16:37:34 +0000 (-0700) Subject: USB: remove warn() macro from usb.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=338b67b0c1a97ca705023a8189cf41aa0828d294;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git USB: remove warn() macro from usb.h 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 --- diff --git a/include/linux/usb.h b/include/linux/usb.h index e89639896508..28f68f587793 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -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__ */