From: Greg Kroah-Hartman Date: Wed, 25 Apr 2012 21:55:16 +0000 (-0700) Subject: USB: remove err() macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=af4e1ee04026908086d7ed252db2619a8ceaa333;p=linux-beck.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;