Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303746
b: refs/heads/master
c: 8cf3874
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 3, 2012
1 parent 18434ee commit bcb9a72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 3363155b66c8d223845b928f87bc8aa482e5f91d
refs/heads/master: 8cf38740e6b5affb9f914b829f466eb7104d2c67
6 changes: 0 additions & 6 deletions trunk/drivers/usb/serial/navman.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ static int navman_open(struct tty_struct *tty, struct usb_serial_port *port)
{
int result = 0;

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

if (port->interrupt_in_urb) {
dbg("%s - adding interrupt input for treo", __func__);
result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
Expand All @@ -99,16 +97,12 @@ static int navman_open(struct tty_struct *tty, struct usb_serial_port *port)

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

usb_kill_urb(port->interrupt_in_urb);
}

static int navman_write(struct tty_struct *tty, struct usb_serial_port *port,
const unsigned char *buf, int count)
{
dbg("%s - port %d", __func__, port->number);

/*
* This device can't write any data, only read from the device
*/
Expand Down

0 comments on commit bcb9a72

Please sign in to comment.