Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303737
b: refs/heads/master
c: b978355
h: refs/heads/master
i:
  303735: 16a36b5
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 3, 2012
1 parent cc29c4d commit 4554c33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 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: 1ae4c01ed5a8041ffa12b90dbe6e0465653d3a5a
refs/heads/master: b97835556f635d117243bd54404d8190ce95d09b
13 changes: 2 additions & 11 deletions trunk/drivers/usb/serial/ir-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ static int ir_open(struct tty_struct *tty, struct usb_serial_port *port)
{
int i;

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

for (i = 0; i < ARRAY_SIZE(port->write_urbs); ++i)
port->write_urbs[i]->transfer_flags = URB_ZERO_PACKET;

Expand Down Expand Up @@ -322,15 +320,10 @@ static void ir_process_read_urb(struct urb *urb)

static void ir_set_termios_callback(struct urb *urb)
{
struct usb_serial_port *port = urb->context;
int status = urb->status;

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

kfree(urb->transfer_buffer);

if (status)
dbg("%s - non-zero urb status: %d", __func__, status);
if (urb->status)
dbg("%s - non-zero urb status: %d", __func__, urb->status);
}

static void ir_set_termios(struct tty_struct *tty,
Expand All @@ -342,8 +335,6 @@ static void ir_set_termios(struct tty_struct *tty,
speed_t baud;
int ir_baud;

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

baud = tty_get_baud_rate(tty);

/*
Expand Down

0 comments on commit 4554c33

Please sign in to comment.