pty: Remove redundant itty reset
authorPeter Hurley <peter@hurleysoftware.com>
Tue, 5 Feb 2013 21:08:50 +0000 (16:08 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 20:00:48 +0000 (13:00 -0700)
commit19ffd68f816878aed456d5e87697f43bd9e3bd2b
tree4945cdfab372d0b5d5a672a07d6da60c89f18f00
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9
pty: Remove redundant itty reset

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