]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
USB: remove err() macro
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2012 21:55:16 +0000 (14:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2012 21:55:16 +0000 (14:55 -0700)
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>
include/linux/usb.h

index 22e9b328975b861c9388f810aef9c1e21bdef0c7..45bc7a5225ab496f3730713860af51a2719ad567 100644 (file)
@@ -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;