From af4e1ee04026908086d7ed252db2619a8ceaa333 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Wed, 25 Apr 2012 14:55:16 -0700 Subject: [PATCH] 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 --- include/linux/usb.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/usb.h b/include/linux/usb.h index 22e9b32..45bc7a5 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; -- 2.7.4