commit | 97d150898592be8d5381ebc8d435526df38a2791 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Tue Aug 07 21:48:05 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Aug 13 16:53:14 2012 -0700 |
tree | 4ff19a2cf10d44945b4acd99ae489c4a9da7011b | |
parent | bdb498c20040616e94b05c31a0ceb3e134b7e829 [diff] |
TTY: hvcs, clean hvcs_open a bit Make the code of hvcs_open a bit more readable by: - moving all assignments out of if's - redoing fail paths so that corresponding pieces are nearby - we need only one of retval and rc 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>