diff options
author | Johan Hovold <johan@kernel.org> | 2017-02-08 07:49:18 -0500 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-02-08 13:27:57 -0500 |
commit | 168fc6c3c33ee7e9b2355e1a17d07e8313eb60f5 (patch) | |
tree | 15c725b376053afe8381d479df64af5ad5d9e29b | |
parent | d395c9ab00901cdd804c36857e9079dd794c3b1c (diff) |
USB: serial: metro-usb: drop function-tracing debugging
Drop some unnecessary debug printks.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
-rw-r--r-- | drivers/usb/serial/metro-usb.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/usb/serial/metro-usb.c b/drivers/usb/serial/metro-usb.c index b0c7746438df..f220a470197a 100644 --- a/drivers/usb/serial/metro-usb.c +++ b/drivers/usb/serial/metro-usb.c | |||
@@ -163,8 +163,6 @@ exit: | |||
163 | 163 | ||
164 | static void metrousb_cleanup(struct usb_serial_port *port) | 164 | static void metrousb_cleanup(struct usb_serial_port *port) |
165 | { | 165 | { |
166 | dev_dbg(&port->dev, "%s\n", __func__); | ||
167 | |||
168 | usb_kill_urb(port->interrupt_in_urb); | 166 | usb_kill_urb(port->interrupt_in_urb); |
169 | 167 | ||
170 | metrousb_send_unidirectional_cmd(UNI_CMD_CLOSE, port); | 168 | metrousb_send_unidirectional_cmd(UNI_CMD_CLOSE, port); |
@@ -177,8 +175,6 @@ static int metrousb_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
177 | unsigned long flags = 0; | 175 | unsigned long flags = 0; |
178 | int result = 0; | 176 | int result = 0; |
179 | 177 | ||
180 | dev_dbg(&port->dev, "%s\n", __func__); | ||
181 | |||
182 | /* Make sure the urb is initialized. */ | 178 | /* Make sure the urb is initialized. */ |
183 | if (!port->interrupt_in_urb) { | 179 | if (!port->interrupt_in_urb) { |
184 | dev_err(&port->dev, "%s - interrupt urb not initialized\n", | 180 | dev_err(&port->dev, "%s - interrupt urb not initialized\n", |
@@ -218,8 +214,6 @@ static int metrousb_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
218 | __func__, result); | 214 | __func__, result); |
219 | goto exit; | 215 | goto exit; |
220 | } | 216 | } |
221 | |||
222 | dev_dbg(&port->dev, "%s - port open\n", __func__); | ||
223 | exit: | 217 | exit: |
224 | return result; | 218 | return result; |
225 | } | 219 | } |
@@ -281,8 +275,6 @@ static void metrousb_throttle(struct tty_struct *tty) | |||
281 | struct metrousb_private *metro_priv = usb_get_serial_port_data(port); | 275 | struct metrousb_private *metro_priv = usb_get_serial_port_data(port); |
282 | unsigned long flags = 0; | 276 | unsigned long flags = 0; |
283 | 277 | ||
284 | dev_dbg(tty->dev, "%s\n", __func__); | ||
285 | |||
286 | /* Set the private information for the port to stop reading data. */ | 278 | /* Set the private information for the port to stop reading data. */ |
287 | spin_lock_irqsave(&metro_priv->lock, flags); | 279 | spin_lock_irqsave(&metro_priv->lock, flags); |
288 | metro_priv->throttled = 1; | 280 | metro_priv->throttled = 1; |
@@ -296,8 +288,6 @@ static int metrousb_tiocmget(struct tty_struct *tty) | |||
296 | struct metrousb_private *metro_priv = usb_get_serial_port_data(port); | 288 | struct metrousb_private *metro_priv = usb_get_serial_port_data(port); |
297 | unsigned long flags = 0; | 289 | unsigned long flags = 0; |
298 | 290 | ||
299 | dev_dbg(tty->dev, "%s\n", __func__); | ||
300 | |||
301 | spin_lock_irqsave(&metro_priv->lock, flags); | 291 | spin_lock_irqsave(&metro_priv->lock, flags); |
302 | control_state = metro_priv->control_state; | 292 | control_state = metro_priv->control_state; |
303 | spin_unlock_irqrestore(&metro_priv->lock, flags); | 293 | spin_unlock_irqrestore(&metro_priv->lock, flags); |
@@ -341,8 +331,6 @@ static void metrousb_unthrottle(struct tty_struct *tty) | |||
341 | unsigned long flags = 0; | 331 | unsigned long flags = 0; |
342 | int result = 0; | 332 | int result = 0; |
343 | 333 | ||
344 | dev_dbg(tty->dev, "%s\n", __func__); | ||
345 | |||
346 | /* Set the private information for the port to resume reading data. */ | 334 | /* Set the private information for the port to resume reading data. */ |
347 | spin_lock_irqsave(&metro_priv->lock, flags); | 335 | spin_lock_irqsave(&metro_priv->lock, flags); |
348 | metro_priv->throttled = 0; | 336 | metro_priv->throttled = 0; |