From: Greg Kroah-Hartman Date: Wed, 25 Apr 2012 21:55:16 +0000 (-0700) Subject: USB: remove err() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=af4e1ee04026;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git USB: remove err() macro I thought this had been removed years ago. All in-kernel users of this call have now been cleaned up and converted over to use dev_err() instead, which is the correct thing to do. Now that there are no users, the macro can be removed so no one else accidentally starts to use it. Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/usb.h b/include/linux/usb.h index 22e9b328975b..45bc7a5225ab 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -1653,9 +1653,6 @@ do { \ } while (0) #endif -#define err(format, arg...) \ - printk(KERN_ERR KBUILD_MODNAME ": " format "\n", ##arg) - /* debugfs stuff */ extern struct dentry *usb_debug_root;