diff options
| author | Jiri Slaby <jslaby@suse.cz> | 2011-11-10 00:33:20 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-16 03:52:45 +0400 |
| commit | 5b5e70408f1e8a48deebedc26ba982bbc7db343e (patch) | |
| tree | 67abea63ef57bac25f300eadd567b290bcae1794 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | b82154ac37a7d12335c7c3d3c34c549171ec0cb4 (diff) | |
| download | linux-5b5e70408f1e8a48deebedc26ba982bbc7db343e.tar.xz | |
TTY: extract driver lookup from tty_open
The error handling in tty_open became unbearable. There were many
errors fixed recently. Extract the tty driver lookup from tty_open to
a separate function. This reduces the fail paths significantly and
makes tty_open more readable.
In the next patch we will move the fail path handling to the end of
the function.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
