Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303723
b: refs/heads/master
c: d17a44d
h: refs/heads/master
i:
  303721: ebb6cd1
  303719: 117e77c
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 3, 2012
1 parent 971e32c commit c5b888c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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: 4d9b4001e0cb180b8e1c9ffd7bb4372e48f207c6
refs/heads/master: d17a44db94c792ce3e349838286c3e3c0bfbf52f
10 changes: 0 additions & 10 deletions trunk/drivers/usb/serial/belkin_sa.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ static void belkin_sa_release(struct usb_serial *serial)
{
int i;

dbg("%s", __func__);

for (i = 0; i < serial->num_ports; ++i)
kfree(usb_get_serial_port_data(serial->port[i]));
}
Expand All @@ -170,8 +168,6 @@ static int belkin_sa_open(struct tty_struct *tty,
{
int retval;

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

retval = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
if (retval) {
dev_err(&port->dev, "usb_submit_urb(read int) failed\n");
Expand All @@ -187,8 +183,6 @@ static int belkin_sa_open(struct tty_struct *tty,

static void belkin_sa_close(struct usb_serial_port *port)
{
dbg("%s port %d", __func__, port->number);

usb_serial_generic_close(port);
usb_kill_urb(port->interrupt_in_urb);
}
Expand Down Expand Up @@ -464,8 +458,6 @@ static int belkin_sa_tiocmget(struct tty_struct *tty)
unsigned long control_state;
unsigned long flags;

dbg("%s", __func__);

spin_lock_irqsave(&priv->lock, flags);
control_state = priv->control_state;
spin_unlock_irqrestore(&priv->lock, flags);
Expand All @@ -485,8 +477,6 @@ static int belkin_sa_tiocmset(struct tty_struct *tty,
int rts = 0;
int dtr = 0;

dbg("%s", __func__);

spin_lock_irqsave(&priv->lock, flags);
control_state = priv->control_state;

Expand Down

0 comments on commit c5b888c

Please sign in to comment.