diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-14 12:37:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-07 13:00:14 -0500 |
commit | 338b67b0c1a97ca705023a8189cf41aa0828d294 (patch) | |
tree | 696d1545368d9a98ff52191e995b4ee3a0e39bae /include/linux/usb.h | |
parent | 5aa637505fb8610cd2724b09fa0ab03fd6cdca63 (diff) |
USB: remove warn() macro from usb.h
USB should not be having it's own printk macros, so remove warn() and
use the system-wide standard of dev_warn() wherever possible. In the
few places that will not work out, use a basic printk().
Now that all in-tree users are gone, remove the macro.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index e89639896508..28f68f587793 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
@@ -1744,8 +1744,6 @@ extern void usb_unregister_notify(struct notifier_block *nb); | |||
1744 | format "\n" , ## arg) | 1744 | format "\n" , ## arg) |
1745 | #define info(format, arg...) printk(KERN_INFO KBUILD_MODNAME ": " \ | 1745 | #define info(format, arg...) printk(KERN_INFO KBUILD_MODNAME ": " \ |
1746 | format "\n" , ## arg) | 1746 | format "\n" , ## arg) |
1747 | #define warn(format, arg...) printk(KERN_WARNING KBUILD_MODNAME ": " \ | ||
1748 | format "\n" , ## arg) | ||
1749 | 1747 | ||
1750 | #endif /* __KERNEL__ */ | 1748 | #endif /* __KERNEL__ */ |
1751 | 1749 | ||