Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164959
b: refs/heads/master
c: 75b48f0
h: refs/heads/master
i:
  164957: 2926bf3
  164955: 707f9ac
  164951: d98ed1b
  164943: 1fce0df
  164927: 57aef05
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Sep 23, 2009
1 parent 3c79d2b commit f723d69
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: 383cedc3bb435de7a27d31a92d622413daa5cb20
refs/heads/master: 75b48f09e577cbb91d9f2a36bede9a2507929714
6 changes: 0 additions & 6 deletions trunk/drivers/usb/serial/usb-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,6 @@ static int serial_open(struct tty_struct *tty, struct file *filp)
static void serial_down(struct usb_serial_port *port)
{
struct usb_serial_driver *drv = port->serial->type;
struct usb_serial *serial;
struct module *owner;

/*
* The console is magical. Do not hang up the console hardware
Expand All @@ -309,12 +307,8 @@ static void serial_down(struct usb_serial_port *port)
return;

mutex_lock(&port->mutex);
serial = port->serial;
owner = serial->type->driver.owner;

if (drv->close)
drv->close(port);

mutex_unlock(&port->mutex);
}

Expand Down

0 comments on commit f723d69

Please sign in to comment.