TTY: coalesce fail paths in tty_open
authorJiri Slaby <jslaby@suse.cz>
Wed, 9 Nov 2011 20:33:21 +0000 (21:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 23:52:46 +0000 (15:52 -0800)
Move them to the end of the function and use gotos as usual.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/tty_io.c

Simple merge