diff options
author | Jiri Slaby <jslaby@suse.cz> | 2011-03-23 12:48:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-20 01:43:00 +0400 |
commit | 8a1b8d70a07628f294f30485acf81971e3fcc755 (patch) | |
tree | 7b5d373ebf176c5db694aeae42525a62952c1434 /lib | |
parent | d55435037539837a741d54690427d37f96ed87fa (diff) | |
download | linux-8a1b8d70a07628f294f30485acf81971e3fcc755.tar.xz |
TTY: unify pty_install fail path handling
Change it so that we call the deinit functions at one place at the end
of the function (by gotos). And while at it use some sane label names.
This is a preparation for the deinitialization of tty in the next
patch.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions