Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267331
b: refs/heads/master
c: 5595621
h: refs/heads/master
i:
  267329: 5ff6a56
  267327: 5dca773
v: v3
  • Loading branch information
Nobuhiro Iwamatsu authored and Greg Kroah-Hartman committed Sep 22, 2011
1 parent c2151d5 commit 95c9f10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: e44aabd649c80e8be16ede3ed3cbff6fb2561ca9
refs/heads/master: 55956216f4b42fefaee70060b054359d63d2afa5
5 changes: 2 additions & 3 deletions trunk/drivers/tty/serial/serial_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ static void uart_close(struct tty_struct *tty, struct file *filp)

if (tty_hung_up_p(filp)) {
spin_unlock_irqrestore(&port->lock, flags);
goto done;
return;
}

if ((tty->count == 1) && (port->count != 1)) {
Expand All @@ -1279,7 +1279,7 @@ static void uart_close(struct tty_struct *tty, struct file *filp)
}
if (port->count) {
spin_unlock_irqrestore(&port->lock, flags);
goto done;
return;
}

/*
Expand Down Expand Up @@ -1342,7 +1342,6 @@ static void uart_close(struct tty_struct *tty, struct file *filp)
wake_up_interruptible(&port->open_wait);
wake_up_interruptible(&port->close_wait);

done:
mutex_unlock(&port->mutex);
}

Expand Down

0 comments on commit 95c9f10

Please sign in to comment.