Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303747
b: refs/heads/master
c: 69d1d34
h: refs/heads/master
i:
  303745: 18434ee
  303743: b3af4a4
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 3, 2012
1 parent bcb9a72 commit 8440975
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 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: 8cf38740e6b5affb9f914b829f466eb7104d2c67
refs/heads/master: 69d1d34a9bbadff9227ba94a4b3acca0c760880a
13 changes: 0 additions & 13 deletions trunk/drivers/usb/serial/omninet.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ static int omninet_open(struct tty_struct *tty, struct usb_serial_port *port)
struct usb_serial_port *wport;
int result = 0;

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

wport = serial->port[1];
tty_port_tty_set(&wport->port, tty);

Expand All @@ -160,7 +158,6 @@ static int omninet_open(struct tty_struct *tty, struct usb_serial_port *port)

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

Expand All @@ -178,8 +175,6 @@ static void omninet_read_bulk_callback(struct urb *urb)
int result;
int i;

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

if (status) {
dbg("%s - nonzero read bulk status received: %d",
__func__, status);
Expand Down Expand Up @@ -225,8 +220,6 @@ static int omninet_write(struct tty_struct *tty, struct usb_serial_port *port,

int result;

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

if (count == 0) {
dbg("%s - write request of 0 bytes", __func__);
return 0;
Expand Down Expand Up @@ -289,8 +282,6 @@ static void omninet_write_bulk_callback(struct urb *urb)
struct usb_serial_port *port = urb->context;
int status = urb->status;

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

set_bit(0, &port->write_urbs_free);
if (status) {
dbg("%s - nonzero write bulk status received: %d",
Expand All @@ -306,8 +297,6 @@ static void omninet_disconnect(struct usb_serial *serial)
{
struct usb_serial_port *wport = serial->port[1];

dbg("%s", __func__);

usb_kill_urb(wport->write_urb);
}

Expand All @@ -316,8 +305,6 @@ static void omninet_release(struct usb_serial *serial)
{
struct usb_serial_port *port = serial->port[0];

dbg("%s", __func__);

kfree(usb_get_serial_port_data(port));
}

Expand Down

0 comments on commit 8440975

Please sign in to comment.