diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-10 06:13:47 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-27 23:28:20 +0100 |
commit | a99cc5d9954651ac7402dcd40b133848303ba596 (patch) | |
tree | 11d2d71154ee6f4bd40e56cff8cb0cf29fffc777 /drivers/tty/pty.c | |
parent | tty: Fix ldisc leak in failed tty_init_dev() (diff) | |
download | linux-a99cc5d9954651ac7402dcd40b133848303ba596.tar.xz linux-a99cc5d9954651ac7402dcd40b133848303ba596.zip |
tty: Remove !tty check from free_tty_struct()
free_tty_struct() is never called with NULL tty; the two call sites
would already have faulted on earlier access.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/pty.c')
0 files changed, 0 insertions, 0 deletions