aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2012-11-06 03:11:32 -0500
committerFelipe Balbi <balbi@ti.com>2012-11-06 08:04:28 -0500
commit24e4c1c30da3926db547aab4ec873afdc60bd3ee (patch)
treea2ce992045ebdda890b9a99c845d897c27449eef /drivers
parent984e833c2bb6cba11e7cbc84c0dfb7b43792ff80 (diff)
usb: renesas_usbhs: remove debug information from usbhsh_hub_status_data()
Because usbhsh_hub_status_data() will be called many times, there are too many obstructive/useless debug informations if driver has #define DEBUG. Thus, other important dev_dbg() information will hide. This patch removed obstructive/useless dev_dbg(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/renesas_usbhs/mod_host.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c
index e856b449e28a..33f706387237 100644
--- a/drivers/usb/renesas_usbhs/mod_host.c
+++ b/drivers/usb/renesas_usbhs/mod_host.c
@@ -1080,8 +1080,6 @@ static void usbhsh_endpoint_disable(struct usb_hcd *hcd,
1080static int usbhsh_hub_status_data(struct usb_hcd *hcd, char *buf) 1080static int usbhsh_hub_status_data(struct usb_hcd *hcd, char *buf)
1081{ 1081{
1082 struct usbhsh_hpriv *hpriv = usbhsh_hcd_to_hpriv(hcd); 1082 struct usbhsh_hpriv *hpriv = usbhsh_hcd_to_hpriv(hcd);
1083 struct usbhs_priv *priv = usbhsh_hpriv_to_priv(hpriv);
1084 struct device *dev = usbhs_priv_to_dev(priv);
1085 int roothub_id = 1; /* only 1 root hub */ 1083 int roothub_id = 1; /* only 1 root hub */
1086 1084
1087 /* 1085 /*
@@ -1093,8 +1091,6 @@ static int usbhsh_hub_status_data(struct usb_hcd *hcd, char *buf)
1093 else 1091 else
1094 *buf = 0; 1092 *buf = 0;
1095 1093
1096 dev_dbg(dev, "%s (%02x)\n", __func__, *buf);
1097
1098 return !!(*buf); 1094 return !!(*buf);
1099} 1095}
1100 1096