pty: Remove pty_unix98_shutdown()
commitc1e33af1ed552258405f2e5a72509af039c0441c
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 05:13:50 +0000 (9 21:13 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2016 22:28:20 +0000 (27 14:28 -0800)
treea8b655742a18d3385038aec20f14005e0feebe2f
parent05de87ed9531dc19d87136c9204d251abebc60d3
pty: Remove pty_unix98_shutdown()

The tty core invokes the optional driver shutdown() just before
the optional driver remove() (shutdown() has access to the termios
and remove() does not). Because pty drivers must prevent the default
remove() action, the Unix98 pty drivers define a dummy remove() function.

Instead, release the slave index in the remove() method and delete the
optional shutdown() method.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/pty.c