diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2012-08-07 21:48:05 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-13 16:53:14 -0700 |
| commit | 97d150898592be8d5381ebc8d435526df38a2791 (patch) | |
| tree | 4ff19a2cf10d44945b4acd99ae489c4a9da7011b /tools/perf/scripts/python/bin | |
| 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>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
