aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 14:55:16 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 14:55:16 -0700
commitaf4e1ee04026908086d7ed252db2619a8ceaa333 (patch)
tree68a4a9036301b8239ec2ec3eb9cd577054ba4965 /include/linux/usb.h
parentUSB: as102_usb_drv.c: remove err() usage (diff)
downloadlinux-dev-af4e1ee04026908086d7ed252db2619a8ceaa333.tar.xz
linux-dev-af4e1ee04026908086d7ed252db2619a8ceaa333.zip
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 <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r--include/linux/usb.h3
1 files changed, 0 insertions, 3 deletions
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;