aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/host/isp1362.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-28 11:33:00 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-23 16:35:17 -0700
commit374f4bfdf5b6a37a641c13ef22e0bbb42e0b3ac7 (patch)
treea53305cc023155b9e8e0cd0f3e2f7c1d0fef203c /drivers/usb/host/isp1362.h
parentUSB: isp1362: remove unused _WARN_ON() calls (diff)
downloadwireguard-linux-374f4bfdf5b6a37a641c13ef22e0bbb42e0b3ac7.tar.xz
wireguard-linux-374f4bfdf5b6a37a641c13ef22e0bbb42e0b3ac7.zip
USB: isp1362: remove _DBG() usage
If you want a debug call, just make it, so move to using the already-there DBG() call. No need to make things more complex than they really need to be. Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/isp1362.h')
-rw-r--r--drivers/usb/host/isp1362.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/host/isp1362.h b/drivers/usb/host/isp1362.h
index e0f6f922052d..d36a90868900 100644
--- a/drivers/usb/host/isp1362.h
+++ b/drivers/usb/host/isp1362.h
@@ -588,14 +588,8 @@ static inline struct usb_hcd *isp1362_hcd_to_hcd(struct isp1362_hcd *isp1362_hcd
if (dbg_level > level) \
pr_debug(fmt); \
} while (0)
-#define _DBG(level, fmt...) \
- do { \
- if (dbg_level > level) \
- printk(fmt); \
- } while (0)
#else
#define DBG(fmt...) do {} while (0)
-#define _DBG DBG
#endif
#ifdef VERBOSE