Jiri Slaby a50f724a43 TTY: pty, remove superfluous ptm test
The code looks like:
if (tty->driver->subtype == PTY_TYPE_MASTER) {
  ...
  if (tty->driver == ptm_driver)

But the second if is superfluous because only the ptm_driver is of
PTY_TYPE_MASTER subtype.

Also we can remove the #if now because devpts_pty_kill is defined as
an empty function for non-CONFIG_UNIX98_PTYS configs.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-02-02 15:10:46 -08:00
..
2012-01-14 15:07:24 -08:00
2012-02-02 15:09:47 -08:00
2012-02-02 15:09:47 -08:00
2012-02-02 15:09:47 -08:00
2012-01-18 12:35:17 -08:00
2012-02-02 15:10:46 -08:00
2012-02-02 15:00:56 -08:00
2012-01-13 10:12:23 -08:00
2012-01-02 13:04:55 +01:00
2012-01-11 23:58:47 -05:00