summaryrefslogtreecommitdiff
path: root/drivers/rapidio
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-01-30 20:14:31 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-02 23:10:46 (GMT)
commita50f724a432997321cabb6c9e665c28e34850f78 (patch)
tree19e42720b0bb67bb513a2b81364d97cb66498620 /drivers/rapidio
parent81f5835eae424be646753ec5a044ed4db1fcc09a (diff)
downloadlinux-a50f724a432997321cabb6c9e665c28e34850f78.tar.xz
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>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions