Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303755
b: refs/heads/master
c: b6b6df8
h: refs/heads/master
i:
  303753: 2f526d9
  303751: f20cac8
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 3, 2012
1 parent fe8d742 commit 36839a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb7a9c4a42995fe84af3e9c3a99f4c35d1567437
refs/heads/master: b6b6df8a568678ca086e9ed558352d762b018c6c
13 changes: 0 additions & 13 deletions trunk/drivers/usb/serial/symbolserial.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ static void symbol_int_callback(struct urb *urb)
int result;
int data_length;

dbg("%s - port %d", __func__, port->number);

switch (status) {
case 0:
/* success */
Expand Down Expand Up @@ -125,8 +123,6 @@ static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port)
unsigned long flags;
int result = 0;

dbg("%s - port %d", __func__, port->number);

spin_lock_irqsave(&priv->lock, flags);
priv->throttled = false;
priv->actually_throttled = false;
Expand All @@ -150,8 +146,6 @@ static void symbol_close(struct usb_serial_port *port)
{
struct symbol_private *priv = usb_get_serial_data(port->serial);

dbg("%s - port %d", __func__, port->number);

/* shutdown our urbs */
usb_kill_urb(priv->int_urb);
}
Expand All @@ -161,7 +155,6 @@ static void symbol_throttle(struct tty_struct *tty)
struct usb_serial_port *port = tty->driver_data;
struct symbol_private *priv = usb_get_serial_data(port->serial);

dbg("%s - port %d", __func__, port->number);
spin_lock_irq(&priv->lock);
priv->throttled = true;
spin_unlock_irq(&priv->lock);
Expand All @@ -174,8 +167,6 @@ static void symbol_unthrottle(struct tty_struct *tty)
int result;
bool was_throttled;

dbg("%s - port %d", __func__, port->number);

spin_lock_irq(&priv->lock);
priv->throttled = false;
was_throttled = priv->actually_throttled;
Expand Down Expand Up @@ -266,8 +257,6 @@ static void symbol_disconnect(struct usb_serial *serial)
{
struct symbol_private *priv = usb_get_serial_data(serial);

dbg("%s", __func__);

usb_kill_urb(priv->int_urb);
usb_free_urb(priv->int_urb);
}
Expand All @@ -276,8 +265,6 @@ static void symbol_release(struct usb_serial *serial)
{
struct symbol_private *priv = usb_get_serial_data(serial);

dbg("%s", __func__);

kfree(priv->int_buffer);
kfree(priv);
}
Expand Down

0 comments on commit 36839a2

Please sign in to comment.