Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364863
b: refs/heads/master
c: 8e34c6c
h: refs/heads/master
i:
  364861: 2ac43ed
  364859: 39bd94d
  364855: 39067c3
  364847: 41e295b
  364831: ececb24
  364799: f421e71
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Apr 17, 2013
1 parent 36a1651 commit 87a416b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 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: fbf947736968cbb0e55ec4b5d861d31a4a106c99
refs/heads/master: 8e34c6c2ee9ed4cafe01e760e0c4bc1c8f7e9cb7
20 changes: 2 additions & 18 deletions trunk/drivers/usb/serial/kobil_sct.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,24 +333,8 @@ static void kobil_read_int_callback(struct urb *urb)
}

if (urb->actual_length) {

/* BEGIN DEBUG */
/*
char *dbg_data;
dbg_data = kzalloc((3 * purb->actual_length + 10)
* sizeof(char), GFP_KERNEL);
if (! dbg_data) {
return;
}
for (i = 0; i < purb->actual_length; i++) {
sprintf(dbg_data +3*i, "%02X ", data[i]);
}
dev_dbg(&port->dev, " <-- %s\n", dbg_data);
kfree(dbg_data);
*/
/* END DEBUG */

usb_serial_debug_data(&port->dev, __func__, urb->actual_length,
data);
tty_insert_flip_string(&port->port, data, urb->actual_length);
tty_flip_buffer_push(&port->port);
}
Expand Down

0 comments on commit 87a416b

Please sign in to comment.