Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 61939
b: refs/heads/master
c: 0d46c00
h: refs/heads/master
i:
  61937: a699ee0
  61935: eb4def7
v: v3
  • Loading branch information
Jesper Juhl authored and Greg Kroah-Hartman committed Jul 20, 2007
1 parent 5018541 commit 26e5767
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: 167a675a8caa249f8bc9053c02d711545d1f7662
refs/heads/master: 0d46c0079a8eeed25105fa374f79862842ee80c1
10 changes: 4 additions & 6 deletions trunk/drivers/usb/serial/io_ti.c
Original file line number Diff line number Diff line change
Expand Up @@ -2794,16 +2794,14 @@ static void edge_shutdown (struct usb_serial *serial)

dbg ("%s", __FUNCTION__);

for (i=0; i < serial->num_ports; ++i) {
for (i = 0; i < serial->num_ports; ++i) {
edge_port = usb_get_serial_port_data(serial->port[i]);
edge_remove_sysfs_attrs(edge_port->port);
if (edge_port) {
edge_buf_free(edge_port->ep_out_buf);
kfree(edge_port);
}
edge_buf_free(edge_port->ep_out_buf);
kfree(edge_port);
usb_set_serial_port_data(serial->port[i], NULL);
}
kfree (usb_get_serial_data(serial));
kfree(usb_get_serial_data(serial));
usb_set_serial_data(serial, NULL);
}

Expand Down

0 comments on commit 26e5767

Please sign in to comment.