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-26 17:14:50 -08:00
2011-09-22 16:08:57 -07:00
2011-07-26 16:49:47 -07:00
2011-09-22 16:08:57 -07:00
2011-09-22 16:08:57 -07:00
2011-03-31 11:26:23 -03:00
2011-11-08 10:10:20 -08:00
2011-12-09 19:11:35 -08:00
2012-02-02 15:09:47 -08:00
2012-02-02 15:10:46 -08:00
2011-03-31 11:26:23 -03:00
2012-01-03 22:54:07 -05:00
2011-08-23 10:34:07 -07:00