projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6161aa
)
pty: Remove redundant itty reset
author
Peter Hurley
<peter@hurleysoftware.com>
Tue, 5 Feb 2013 21:08:50 +0000
(16:08 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 20:00:48 +0000
(13:00 -0700)
port->itty has already been reset by release_tty() before
pty_cleanup() is called.
Call stack:
release_tty()
tty_kref_put()
queue_release_one_tty()
release_one_tty() : workqueue
tty->ops->cleanup()
pty_cleanup()
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c
patch
|
blob
|
history
diff --git
a/drivers/tty/pty.c
b/drivers/tty/pty.c
index
c24b4db
..
71e456a
100644
(file)
--- a/
drivers/tty/pty.c
+++ b/
drivers/tty/pty.c
@@
-413,7
+413,6
@@
static void pty_unix98_shutdown(struct tty_struct *tty)
static void pty_cleanup(struct tty_struct *tty)
{
- tty->port->itty = NULL;
tty_port_put(tty->port);
}