Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303742
b: refs/heads/master
c: f65ee14
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 3, 2012
1 parent 21d959e commit 458ed4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: b20430bcc0c5043ed4b107f688363e4f60ca7b92
refs/heads/master: f65ee14fa83e0753472905a10091b07bfe3cccf2
7 changes: 0 additions & 7 deletions trunk/drivers/usb/serial/kobil_sct.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ static int kobil_startup(struct usb_serial *serial)
static void kobil_release(struct usb_serial *serial)
{
int i;
dbg("%s - port %d", __func__, serial->port[0]->number);

for (i = 0; i < serial->num_ports; ++i)
kfree(usb_get_serial_port_data(serial->port[i]));
Expand All @@ -217,7 +216,6 @@ static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port)
int transfer_buffer_length = 8;
int write_urb_transfer_buffer_length = 8;

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

/* allocate memory for transfer buffer */
Expand Down Expand Up @@ -327,8 +325,6 @@ static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port)

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

/* FIXME: Add rts/dtr methods */
if (port->write_urb) {
usb_poison_urb(port->write_urb);
Expand All @@ -349,8 +345,6 @@ static void kobil_read_int_callback(struct urb *urb)
int status = urb->status;
/* char *dbg_data; */

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

if (status) {
dbg("%s - port %d Read int status not zero: %d",
__func__, port->number, status);
Expand Down Expand Up @@ -474,7 +468,6 @@ static int kobil_write(struct tty_struct *tty, struct usb_serial_port *port,

static int kobil_write_room(struct tty_struct *tty)
{
/* dbg("%s - port %d", __func__, port->number); */
/* FIXME */
return 8;
}
Expand Down

0 comments on commit 458ed4b

Please sign in to comment.